mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core/settings: make qPref* constructors private
Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
6e846eb4c0
commit
653a2baf11
26 changed files with 26 additions and 65 deletions
|
|
@ -16,7 +16,6 @@ class qPrefProxy : public QObject {
|
|||
Q_PROPERTY(QString proxy_user READ proxy_user WRITE set_proxy_user NOTIFY proxy_userChanged);
|
||||
|
||||
public:
|
||||
qPrefProxy(QObject *parent = NULL);
|
||||
static qPrefProxy *instance();
|
||||
|
||||
// Load/Sync local settings (disk) and struct preference
|
||||
|
|
@ -49,6 +48,8 @@ signals:
|
|||
void proxy_userChanged(const QString &value);
|
||||
|
||||
private:
|
||||
qPrefProxy() {}
|
||||
|
||||
static void disk_proxy_auth(bool doSync);
|
||||
static void disk_proxy_host(bool doSync);
|
||||
static void disk_proxy_pass(bool doSync);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue