diff options
Diffstat (limited to 'tracker-hydra')
-rw-r--r-- | tracker-hydra/ftnoir_tracker_hydra_dialog.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tracker-hydra/ftnoir_tracker_hydra_dialog.cpp b/tracker-hydra/ftnoir_tracker_hydra_dialog.cpp index 2c23ee46..773f8b50 100644 --- a/tracker-hydra/ftnoir_tracker_hydra_dialog.cpp +++ b/tracker-hydra/ftnoir_tracker_hydra_dialog.cpp @@ -3,20 +3,19 @@ TrackerControls::TrackerControls() { - ui.setupUi( this ); + ui.setupUi(this); - // Connect Qt signals to member-functions connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); } void TrackerControls::doOK() { s.b->save(); - this->close(); + close(); } -void TrackerControls::doCancel() { - s.b->reload(); +void TrackerControls::doCancel() +{ close(); } |