summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-14 15:42:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-14 15:42:57 +0200
commitb8fd03ece0aca5ac01b04d5df1beee1c93438ec0 (patch)
treea897424ef5cd2c4a8e60a3873a4b5a58bb2380ed /facetracknoir/facetracknoir.cpp
parent611f781ea5a9f2260f3fa305cc2274bca48ec60d (diff)
Remove unused member variable
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index e834b6be..58381c13 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -168,7 +168,6 @@ FaceTrackNoIR::FaceTrackNoIR(QWidget *parent, Qt::WFlags flags) :
timUpdateHeadPose(this)
{
ui.setupUi(this);
- cameraDetected = false;
//
// Initialize Widget handles, to prevent memory-access errors.
@@ -571,6 +570,13 @@ void FaceTrackNoIR::loadSettings() {
}
}
+ if (!_curve_config)
+ {
+ _curve_config = new CurveConfigurationDialog( this, this, Qt::Dialog );
+ }
+
+ ((CurveConfigurationDialog*) _curve_config)->loadSettings();
+
settingsDirty = false;
looping = false;
}