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 /proto-ft | |
| 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 'proto-ft')
| -rw-r--r-- | proto-ft/ftnoir_protocol_ft.cpp | 2 | ||||
| -rw-r--r-- | proto-ft/ftnoir_protocol_ft_dialog.cpp | 8 | 
2 files changed, 5 insertions, 5 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp index 9dba2bff..e5648250 100644 --- a/proto-ft/ftnoir_protocol_ft.cpp +++ b/proto-ft/ftnoir_protocol_ft.cpp @@ -82,7 +82,7 @@ void FTNoIR_Protocol::pose(const double* headpose) {          }          ft->GameID2 = id;          intGameID = id; -        QMutexLocker foo(&this->game_name_mutex); +        QMutexLocker foo(&game_name_mutex);          connected_game = gamename;      } diff --git a/proto-ft/ftnoir_protocol_ft_dialog.cpp b/proto-ft/ftnoir_protocol_ft_dialog.cpp index da00a03a..36846273 100644 --- a/proto-ft/ftnoir_protocol_ft_dialog.cpp +++ b/proto-ft/ftnoir_protocol_ft_dialog.cpp @@ -41,12 +41,12 @@ FTControls::FTControls()  void FTControls::doOK() {      s.b->save(); -    this->close(); +    close();  } -void FTControls::doCancel() { -    s.b->reload(); -    this->close(); +void FTControls::doCancel() +{ +    close();  }  void FTControls::selectDLL() {  | 
