summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hydra
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-12-31 08:41:16 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-12-31 08:42:33 +0100
commitd1e0537f704ea67483ccbdf7461e636490aba0cf (patch)
tree6b965181a903a6f1fba1d9415b7fe634bbf27451 /ftnoir_tracker_hydra
parent54892e5f6a15c1ce0aba364039174eda3d1a6b8b (diff)
meta: get rid of Initialize(), now RAII
Diffstat (limited to 'ftnoir_tracker_hydra')
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra.h1
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp9
2 files changed, 0 insertions, 10 deletions
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
index 16629c3a..8d91dfbb 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
@@ -45,7 +45,6 @@ class TrackerControls: public QWidget, public ITrackerDialog
Q_OBJECT
public:
explicit TrackerControls();
- void Initialize(QWidget *parent);
void registerTracker(ITracker *) {}
void unRegisterTracker() {}
private:
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp b/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
index e92180a3..4a2deb9f 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
@@ -18,15 +18,6 @@ QWidget()
tie_setting(s.bEnableZ, ui.chkEnableZ);
}
-void TrackerControls::Initialize(QWidget *parent) {
-
- QPoint offsetpos(100, 100);
- if (parent) {
- this->move(parent->pos() + offsetpos);
- }
- show();
-}
-
void TrackerControls::doOK() {
s.b->save();
this->close();