QML UI: load from cache first when changing cloud credentials

We need to execute the same sequence of steps both when starting the app
and when switching cloud credentials. This way things will work correctly
when the device is offline and the user wants to switch accounts.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-02-09 07:53:22 -08:00
parent 0cc9ad0619
commit 87f62dfaa8
2 changed files with 32 additions and 24 deletions

View file

@ -85,6 +85,7 @@ public slots:
void populateGpsData();
void clearGpsData();
void finishSetup();
void openLocalThenRemote(QString url);
void showMap(const QString& location);
QString getNumber(const QString& diveId);
QString getDate(const QString& diveId);