From 5e3b2741acd06b4ed8d9c2d8c3ca76080cfed51b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 10 Feb 2016 21:24:10 -0800 Subject: Invalidate the remembered git SHA when changing credentials Otherwise, when switching back and forth between two logins, during the second switch the dive list is not loaded as the code checks against the remembered git SHA before rewriting the dive list. Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-mobile') diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index d4cc89fb8..ebef201ba 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -167,6 +167,7 @@ void QMLManager::saveCloudCredentials() QString url; getCloudURL(url); manager()->clearAccessCache(); // remove any chached credentials + clear_git_id(); // invalidate our remembered GIT SHA openLocalThenRemote(url); } } -- cgit v1.2.3-70-g09d2