diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-05 21:45:31 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-05 21:45:31 +0100 |
commit | 3272306484ee358ee00c1926d88439814e7276bc (patch) | |
tree | e6c0e053a3c255859576d2ebd116174d60c23b7e /ftnoir_protocol_fg/ftnoir_protocol_fg_dialog.cpp | |
parent | 7b81b27f70cb5169bbd61de7cc6628dac5620cc8 (diff) |
remove needless settings reload in dialogs
Options handling was fixed to pass the same bundle to all consumers.
There's no need to reload it explicitly anymore.
Diffstat (limited to 'ftnoir_protocol_fg/ftnoir_protocol_fg_dialog.cpp')
-rw-r--r-- | ftnoir_protocol_fg/ftnoir_protocol_fg_dialog.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ftnoir_protocol_fg/ftnoir_protocol_fg_dialog.cpp b/ftnoir_protocol_fg/ftnoir_protocol_fg_dialog.cpp index 041e9961..d15c9466 100644 --- a/ftnoir_protocol_fg/ftnoir_protocol_fg_dialog.cpp +++ b/ftnoir_protocol_fg/ftnoir_protocol_fg_dialog.cpp @@ -37,7 +37,7 @@ // // Constructor for server-settings-dialog // -FGControls::FGControls() : theProtocol(nullptr) +FGControls::FGControls() { ui.setupUi( this ); @@ -54,8 +54,6 @@ FGControls::FGControls() : theProtocol(nullptr) void FGControls::doOK() { s.b->save(); this->close(); - if (theProtocol) - theProtocol->reloadSettings(); } void FGControls::doCancel() { |