diff options
Diffstat (limited to 'proto-sc')
-rw-r--r-- | proto-sc/ftnoir_protocol_sc_dialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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(); } |