diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-08-03 14:55:09 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-04 07:38:30 -0700 |
commit | 9a2d503d3b3d2c0a4631ef6c26dcf1c6785a4e56 (patch) | |
tree | 31270a689b6d00666553a0cc71ee9bbb27a70a7a /core/pref.h | |
parent | 7e2803d6dd65016bfd925345adf3abdfbbbe6056 (diff) | |
download | subsurface-9a2d503d3b3d2c0a4631ef6c26dcf1c6785a4e56.tar.gz |
Unify credential states
Having two different enums around with more or less the same
definition has lead to unclear code. After removing two not needed
states on the mobile end, the remaining step to one enum for the
credential state becomes almost is simple rename operation.
Unfortunately, I do not know a way to embed a plain C enum
from pref.h into the QMLManager object. So after this, there
are still 2 enums around, but now identical.
This commit is not changing any functionality.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/pref.h')
-rw-r--r-- | core/pref.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pref.h b/core/pref.h index 14699153e..f22999981 100644 --- a/core/pref.h +++ b/core/pref.h @@ -174,7 +174,8 @@ enum cloud_status { CS_UNKNOWN, CS_INCORRECT_USER_PASSWD, CS_NEED_TO_VERIFY, - CS_VERIFIED + CS_VERIFIED, + CS_NOCLOUD }; extern struct preferences prefs, default_prefs, git_prefs; |