diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-08-01 14:35:57 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-04 07:38:30 -0700 |
commit | 7e2803d6dd65016bfd925345adf3abdfbbbe6056 (patch) | |
tree | 34dd6d332a58e8c5b6ede0fe7c7de95a4cc45148 /mobile-widgets | |
parent | 190d80e509e24b242024cda28d7caf546250fab1 (diff) | |
download | subsurface-7e2803d6dd65016bfd925345adf3abdfbbbe6056.tar.gz |
mobile: remove superfluous state INCOMPLETE
And here, the removal of a second superfluous state from QMLManager.
This is true no-brainer. While this state was set once troughout the
entire mobile code, it was never tested for this state. Testing shows
that it is safe to change to the UNKNOWN state.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 2 | ||||
-rw-r--r-- | mobile-widgets/qmlmanager.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 8f8f06163..62eae8e8c 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -245,7 +245,7 @@ void QMLManager::finishSetup() appendTextToLog(QString("working in no-cloud mode, finished loading %1 dives from %2").arg(dive_table.nr).arg(existing_filename)); } } else { - setCredentialStatus(INCOMPLETE); + setCredentialStatus(UNKNOWN); appendTextToLog(tr("no cloud credentials")); setStartPageText(RED_FONT + tr("Please enter valid cloud credentials.") + END_FONT); } diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index d1595cd5f..fc468baf4 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -49,7 +49,6 @@ public: ~QMLManager(); enum credentialStatus_t { - INCOMPLETE, UNKNOWN, INVALID, VALID, |