diff options
author | jan Iversen <jani@apache.org> | 2018-07-26 18:26:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-27 12:23:09 -0700 |
commit | 037ee9994d038fab1c2dec6aa7c6fca1fdbc1893 (patch) | |
tree | 78bc8c6eff70af63e24856fe7ed5bd14c02117c7 /core/settings/qPrefCloudStorage.h | |
parent | 67a875ef81290fe49a0b25e174615942d8404bea (diff) | |
download | subsurface-037ee9994d038fab1c2dec6aa7c6fca1fdbc1893.tar.gz |
core: fix qPrefCloudStorage to derive git_url
remove set_git_url and git_url_changed, because it is not possible
to set git_url, this is done inderectly through set_base_url
Update disk_base_url to generated git_url for both load/sync
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefCloudStorage.h')
-rw-r--r-- | core/settings/qPrefCloudStorage.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/settings/qPrefCloudStorage.h b/core/settings/qPrefCloudStorage.h index f92e0e1ef..fe804585f 100644 --- a/core/settings/qPrefCloudStorage.h +++ b/core/settings/qPrefCloudStorage.h @@ -8,7 +8,7 @@ class qPrefCloudStorage : public QObject { Q_OBJECT Q_PROPERTY(QString cloud_base_url READ cloud_base_url WRITE set_cloud_base_url NOTIFY cloud_base_url_changed); - Q_PROPERTY(QString cloud_git_url READ cloud_git_url WRITE set_cloud_git_url NOTIFY cloud_git_url_changed); + Q_PROPERTY(QString cloud_git_url READ cloud_git_url); Q_PROPERTY(QString cloud_storage_email READ cloud_storage_email WRITE set_cloud_storage_email NOTIFY cloud_storage_email_changed); Q_PROPERTY(QString cloud_storage_email_encoded READ cloud_storage_email_encoded WRITE set_cloud_storage_email_encoded NOTIFY cloud_storage_email_encoded_changed); Q_PROPERTY(QString cloud_storage_newpassword READ cloud_storage_newpassword WRITE set_cloud_storage_newpassword NOTIFY cloud_storage_newpassword_changed); @@ -47,7 +47,6 @@ public: public slots: void set_cloud_base_url(const QString &value); - void set_cloud_git_url(const QString &value); void set_cloud_storage_email(const QString &value); void set_cloud_storage_email_encoded(const QString &value); void set_cloud_storage_newpassword(const QString &value); @@ -62,7 +61,6 @@ public slots: signals: void cloud_base_url_changed(const QString &value); - void cloud_git_url_changed(const QString &value); void cloud_storage_email_changed(const QString &value); void cloud_storage_email_encoded_changed(const QString &value); void cloud_storage_newpassword_changed(const QString &value); @@ -78,7 +76,6 @@ signals: private: // functions to load/sync variable with disk void disk_cloud_base_url(bool doSync); - void disk_cloud_git_url(bool doSync); void disk_cloud_storage_email(bool doSync); void disk_cloud_storage_email_encoded(bool doSync); void disk_cloud_storage_newpassword(bool doSync); |