mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
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>
This commit is contained in:
parent
190d80e509
commit
7e2803d6dd
2 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -49,7 +49,6 @@ public:
|
|||
~QMLManager();
|
||||
|
||||
enum credentialStatus_t {
|
||||
INCOMPLETE,
|
||||
UNKNOWN,
|
||||
INVALID,
|
||||
VALID,
|
||||
|
|
Loading…
Reference in a new issue