summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-17 03:15:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-17 03:16:11 +0200
commit383c832723691506351b02b5ccac7e9cd26f4583 (patch)
tree93498d446fa54f6d5fdac6cf47e69c8f026e4162 /facetracknoir/facetracknoir.cpp
parent1abc4a8aaba0cb1d01492b60d655181814e67ac0 (diff)
fix UI after changes
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index 0e7e25ec..bec35522 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -121,9 +121,6 @@ FaceTrackNoIR::FaceTrackNoIR(QWidget *parent, Qt::WindowFlags flags) :
// it gets initialized and pulls in QSettings before
// main() starts. program can and will crash.
- ui.headPoseWidget->show();
- ui.video_frame->hide();
-
// menu objects will be connected with the functions in FaceTrackNoIR class
connect(ui.btnLoad, SIGNAL(clicked()), this, SLOT(open()));
connect(ui.btnSave, SIGNAL(clicked()), this, SLOT(save()));
@@ -202,8 +199,8 @@ FaceTrackNoIR::~FaceTrackNoIR() {
//
// Get a pointer to the video-widget, to use in the DLL
//
-QFrame *FaceTrackNoIR::get_video_widget() {
- return ui.video_frame;
+QFrame* FaceTrackNoIR::get_video_widget() {
+ return ui.video_frame;
}
/** read the name of the first video-capturing device at start up **/
@@ -630,7 +627,7 @@ void FaceTrackNoIR::startTracker( ) {
tracker->start();
- ui.headPoseWidget->show();
+ ui.video_frame->show();
//
ui.btnStartTracker->setEnabled ( false );