diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-02-10 21:24:10 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-10 21:24:10 -0800 |
commit | 5e3b2741acd06b4ed8d9c2d8c3ca76080cfed51b (patch) | |
tree | 8775d071c9ed8de54e9497c7dddcb307aa9bc3a4 /qt-mobile/qmlmanager.cpp | |
parent | 06628e03c53ff51535026f8ca24aaf42c1780b70 (diff) | |
download | subsurface-5e3b2741acd06b4ed8d9c2d8c3ca76080cfed51b.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |