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-hatire | |
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-hatire')
-rw-r--r-- | tracker-hatire/ftnoir_tracker_hat_dialog.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tracker-hatire/ftnoir_tracker_hat_dialog.cpp b/tracker-hatire/ftnoir_tracker_hat_dialog.cpp index fdf366f5..7acada3f 100644 --- a/tracker-hatire/ftnoir_tracker_hat_dialog.cpp +++ b/tracker-hatire/ftnoir_tracker_hat_dialog.cpp @@ -124,9 +124,8 @@ TrackerControls::~TrackerControls() { void TrackerControls::Initialize(QWidget *parent) { QPoint offsetpos(100, 100); - if (parent) { - this->move(parent->pos() + offsetpos); - } + if (parent) + move(parent->pos() + offsetpos); show(); } @@ -168,7 +167,7 @@ void TrackerControls::doSend() { // void TrackerControls::on_lineSend_returnPressed() { - this->doSend(); + doSend(); } // @@ -203,7 +202,6 @@ void TrackerControls::doOK() void TrackerControls::doCancel() { - s.b->reload(); close(); } |