diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-01-16 21:58:27 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-18 08:56:27 +0100 |
commit | ff9bdfd0dfa22493d6721a072d0923bf7c175434 (patch) | |
tree | cce51b4480c06354e3e69b84ac66e92f3d8f9f68 /desktop-widgets/preferences/preferences_network.h | |
parent | a116ff85f8ecc2e5634752befd6241efa26e9b85 (diff) | |
download | subsurface-ff9bdfd0dfa22493d6721a072d0923bf7c175434.tar.gz |
Fix PreferencesNetwork::passwordUpdateSuccessful slot
In preferences_network.cpp, the CloudStorageAuthenticate::passwordChangeSuccessful
signal was connected to the PreferencesNetwork::passwordUpdateSuccessful
slot. This never worked, because passwordUpdateSuccessful() was declared
as a normal member function, not a slot (hooray for Qt's weird runtime-checked
signal system).
While touching this code, change the weird SIGNAL/SLOT macros to
actual member function, to at least get *some* compile-time checks.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/preferences/preferences_network.h')
-rw-r--r-- | desktop-widgets/preferences/preferences_network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/preferences/preferences_network.h b/desktop-widgets/preferences/preferences_network.h index 9b9b6d467..844cce3f0 100644 --- a/desktop-widgets/preferences/preferences_network.h +++ b/desktop-widgets/preferences/preferences_network.h @@ -20,10 +20,10 @@ public: public slots: void proxyType_changed(int i); void updateCloudAuthenticationState(); + void passwordUpdateSuccessful(); private: Ui::PreferencesNetwork *ui; - void passwordUpdateSuccessful(); }; #endif |