summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/curve-config.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-21 08:03:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-21 08:03:39 +0200
commit1ca44ebf2600402db9a44f3b3baa1fda224a6dae (patch)
tree59068533286c66c2d5564eb3f874c4a6f8c28fe0 /facetracknoir/curve-config.cpp
parent31a0400bb07424e371bc7504a5147ae9fcced683 (diff)
replace manual QWidget::move() with dialog flag
Diffstat (limited to 'facetracknoir/curve-config.cpp')
-rw-r--r--facetracknoir/curve-config.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/facetracknoir/curve-config.cpp b/facetracknoir/curve-config.cpp
index ebf43a8d..f00d3657 100644
--- a/facetracknoir/curve-config.cpp
+++ b/facetracknoir/curve-config.cpp
@@ -1,8 +1,7 @@
#include "./facetracknoir.h"
#include "./curve-config.h"
#include "opentrack/main-settings.hpp"
-MapWidget::MapWidget(Mappings& m, main_settings& s, QWidget *parent) :
- QWidget(parent, Qt::Dialog),
+MapWidget::MapWidget(Mappings& m, main_settings& s) :
m(m)
{
ui.setupUi( this );
@@ -45,9 +44,6 @@ MapWidget::MapWidget(Mappings& m, main_settings& s, QWidget *parent) :
}
setFont(qApp->font());
- QPoint offsetpos(120, 30);
- this->move(parent->pos() + offsetpos);
-
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));