summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/curve-config.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-17 20:15:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-17 20:15:21 +0200
commit8f23371ba8e894f5301cdccdce5e49e86a0222f8 (patch)
tree0c519485f113e0be75d425da31cf3e3afa039bfa /facetracknoir/curve-config.cpp
parent4d21a6c5db8ec555ed94c5f8a85482b988fec34b (diff)
hardcode colors, since qt tabpage is somewhat 'special'
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'facetracknoir/curve-config.cpp')
-rw-r--r--facetracknoir/curve-config.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/facetracknoir/curve-config.cpp b/facetracknoir/curve-config.cpp
index 117e5803..50aa8acf 100644
--- a/facetracknoir/curve-config.cpp
+++ b/facetracknoir/curve-config.cpp
@@ -2,15 +2,13 @@
#include "facetracknoir/curve-config.h"
#include <QDebug>
CurveConfigurationDialog::CurveConfigurationDialog(FaceTrackNoIR *ftnoir, QWidget *parent) :
-QWidget( parent, Qt::Dialog )
+ QWidget( parent, Qt::Dialog ), mainApp(ftnoir)
{
ui.setupUi( this );
- QPoint offsetpos(120, 30);
+ QPoint offsetpos(120, 30);
this->move(parent->pos() + offsetpos);
- mainApp = ftnoir; // Preserve a pointer to FTNoIR
-
// Connect Qt signals to member-functions
connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
connect(ui.btnCancel, SIGNAL(clicked()), this, SLOT(doCancel()));