diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2013-01-05 11:46:43 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2013-01-05 11:46:43 +0000 |
commit | 292740d183ee6970e7241c822e707ffad7e670f5 (patch) | |
tree | 8ec25ea7726fc1fb8e469300881e441d6d08e67b /FTNoIR_Tracker_SM | |
parent | a259ffd36f3a6e72787bc423ca016de0d05a8a02 (diff) |
Fixed engine-status display when EXIT is done.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@205 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_SM')
-rw-r--r-- | FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp b/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp index e334f932..5c422402 100644 --- a/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp +++ b/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp @@ -38,6 +38,7 @@ QWidget() ui.setupUi( this );
theTracker = NULL;
+ prev_state = -1;
// Connect Qt signals to member-functions
connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
@@ -107,6 +108,7 @@ void TrackerControls::doOK() { // override show event
void TrackerControls::showEvent ( QShowEvent * event ) {
+ prev_state = -1;
loadSettings();
}
|