diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-26 17:09:17 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-26 17:19:19 +0200 |
commit | b008aefee41a21b24f1d2f1f23cd6c78b888ede5 (patch) | |
tree | fb1d42dbd30c937d956811796856453f29507382 /tracker-udp/ftnoir_tracker_udp_dialog.cpp | |
parent | 47dec53450dec0264489cddb0005e13593f43399 (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-udp/ftnoir_tracker_udp_dialog.cpp')
-rw-r--r-- | tracker-udp/ftnoir_tracker_udp_dialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tracker-udp/ftnoir_tracker_udp_dialog.cpp b/tracker-udp/ftnoir_tracker_udp_dialog.cpp index 5e7d5437..2df81409 100644 --- a/tracker-udp/ftnoir_tracker_udp_dialog.cpp +++ b/tracker-udp/ftnoir_tracker_udp_dialog.cpp @@ -3,10 +3,10 @@ TrackerControls::TrackerControls() { - ui.setupUi( this ); + ui.setupUi( this ); - connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); - connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); + connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); + connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); tie_setting(s.port, ui.spinPortNumber); tie_setting(s.add_yaw, ui.add_yaw); @@ -16,11 +16,11 @@ TrackerControls::TrackerControls() void TrackerControls::doOK() { s.b->save(); - this->close(); + close(); } void TrackerControls::doCancel() { s.b->reload(); - this->close(); + close(); } |