mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: declare cloud_status in qPrefCloudStorage
qml declaration of cloud_status (defined in pref.h) does not belong in qPref.h but in qPrefCloudStorage Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
4d57b52062
commit
684e334fb6
13 changed files with 82 additions and 82 deletions
|
|
@ -27,6 +27,15 @@ public:
|
|||
static void sync() { loadSync(true); }
|
||||
|
||||
public:
|
||||
enum cloud_status {
|
||||
CS_UNKNOWN,
|
||||
CS_INCORRECT_USER_PASSWD,
|
||||
CS_NEED_TO_VERIFY,
|
||||
CS_VERIFIED,
|
||||
CS_NOCLOUD
|
||||
};
|
||||
Q_ENUM(cloud_status);
|
||||
|
||||
static QString cloud_base_url() { return prefs.cloud_base_url; }
|
||||
static QString cloud_git_url() { return prefs.cloud_git_url; }
|
||||
static QString cloud_storage_email() { return prefs.cloud_storage_email; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue