summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-06 11:44:58 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-06 11:44:58 -0700
commit961b80ec20e48e0ffaef93bbcb1951560902fbff (patch)
tree6e83d1a41dfa0406e0b60e86ca850f0368a3d74f /mobile-widgets/qmlmanager.cpp
parent6a23e0ef664d081ec9351603c76af8c46edd4e89 (diff)
downloadsubsurface-961b80ec20e48e0ffaef93bbcb1951560902fbff.tar.gz
QML UI: after successfully opening storage, store the filename
We rely on the filename being valid elsewhere in the code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 3d478178d..787a1e06e 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -149,6 +149,7 @@ void QMLManager::openLocalThenRemote(QString url)
DiveListModel::instance()->addAllDives();
appendTextToLog(QStringLiteral("%1 dives loaded from cache").arg(dive_table.nr));
}
+ set_filename(fileNamePrt.data(), true);
appendTextToLog(QStringLiteral("have cloud credentials, trying to connect"));
tryRetrieveDataFromBackend();
}