From 961b80ec20e48e0ffaef93bbcb1951560902fbff Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 6 Apr 2016 11:44:58 -0700 Subject: 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 --- mobile-widgets/qmlmanager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets') 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(); } -- cgit v1.2.3-70-g09d2