From b008aefee41a21b24f1d2f1f23cd6c78b888ede5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 26 May 2016 17:09:17 +0200 Subject: 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 --- proto-sc/ftnoir_protocol_sc_dialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'proto-sc') diff --git a/proto-sc/ftnoir_protocol_sc_dialog.cpp b/proto-sc/ftnoir_protocol_sc_dialog.cpp index 7c2ecfd4..e2ff82fc 100644 --- a/proto-sc/ftnoir_protocol_sc_dialog.cpp +++ b/proto-sc/ftnoir_protocol_sc_dialog.cpp @@ -14,9 +14,9 @@ SCControls::SCControls() { - ui.setupUi( this ); + ui.setupUi( this ); - // Connect Qt signals to member-functions + // Connect Qt signals to member-functions connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); @@ -25,11 +25,11 @@ SCControls::SCControls() void SCControls::doOK() { s.b->save(); - this->close(); + close(); } -void SCControls::doCancel() { - s.b->reload(); +void SCControls::doCancel() +{ close(); } -- cgit v1.2.3