From f925711185ee79081417e1e0996b5f83e77eab61 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 11 Feb 2016 22:46:35 -0800 Subject: [PATCH] QML UI: clear up more data when changing credentials Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index ebef201ba..8b9e89036 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -168,6 +168,9 @@ void QMLManager::saveCloudCredentials() getCloudURL(url); manager()->clearAccessCache(); // remove any chached credentials clear_git_id(); // invalidate our remembered GIT SHA + clear_dive_file_data(); + DiveListModel::instance()->clear(); + GpsListModel::instance()->clear(); openLocalThenRemote(url); } }