summaryrefslogtreecommitdiffhomepage
path: root/tracker-hydra/ftnoir_tracker_hydra_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-26 17:09:17 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-26 17:19:19 +0200
commitb008aefee41a21b24f1d2f1f23cd6c78b888ede5 (patch)
treefb1d42dbd30c937d956811796856453f29507382 /tracker-hydra/ftnoir_tracker_hydra_dialog.cpp
parent47dec53450dec0264489cddb0005e13593f43399 (diff)
many modules: trivial cleanups only
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab
Diffstat (limited to 'tracker-hydra/ftnoir_tracker_hydra_dialog.cpp')
-rw-r--r--tracker-hydra/ftnoir_tracker_hydra_dialog.cpp9
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();
}