mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 19:41:30 +00:00
ff9bdfd0df
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>
29 lines
552 B
C++
29 lines
552 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef PREFERENCES_NETWORK_H
|
|
#define PREFERENCES_NETWORK_H
|
|
|
|
#include "abstractpreferenceswidget.h"
|
|
|
|
namespace Ui {
|
|
class PreferencesNetwork;
|
|
}
|
|
|
|
class PreferencesNetwork : public AbstractPreferencesWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
PreferencesNetwork();
|
|
virtual ~PreferencesNetwork();
|
|
virtual void refreshSettings();
|
|
virtual void syncSettings();
|
|
|
|
public slots:
|
|
void proxyType_changed(int i);
|
|
void updateCloudAuthenticationState();
|
|
void passwordUpdateSuccessful();
|
|
|
|
private:
|
|
Ui::PreferencesNetwork *ui;
|
|
};
|
|
|
|
#endif
|