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-fg/ftnoir_protocol_fg_dialog.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'proto-fg') diff --git a/proto-fg/ftnoir_protocol_fg_dialog.cpp b/proto-fg/ftnoir_protocol_fg_dialog.cpp index 1d583115..6a3463b4 100644 --- a/proto-fg/ftnoir_protocol_fg_dialog.cpp +++ b/proto-fg/ftnoir_protocol_fg_dialog.cpp @@ -22,7 +22,7 @@ // FGControls::FGControls() { - ui.setupUi( this ); + ui.setupUi( this ); tie_setting(s.ip1, ui.spinIPFirstNibble); tie_setting(s.ip2, ui.spinIPSecondNibble); @@ -36,11 +36,10 @@ FGControls::FGControls() void FGControls::doOK() { s.b->save(); - this->close(); + close(); } void FGControls::doCancel() { - s.b->reload(); - this->close(); + close(); } -- cgit v1.2.3