diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-06-17 04:23:46 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-06-17 04:23:46 -0700 |
commit | 8d83edc48af3d9361be4cf80f0c4a86f251d96f1 (patch) | |
tree | 4dcfd76538c65b41a28c19821d460b6cbee75406 /mobile-widgets | |
parent | 6cf100f1cc4924075f0081a4ae7a08992de4b85f (diff) | |
download | subsurface-8d83edc48af3d9361be4cf80f0c4a86f251d96f1.tar.gz |
QML UI: correctly check cloud verification status
Oops. That's embarrassing.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index d9ab7f2ee..eae4a4e8f 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -293,7 +293,7 @@ void QMLManager::saveCloudCredentials() currentGitLocalOnly = prefs.git_local_only; prefs.git_local_only = false; openLocalThenRemote(url); - } else if (prefs.cloud_verification_status = CS_NEED_TO_VERIFY && !cloudPin().isEmpty()) { + } else if (prefs.cloud_verification_status == CS_NEED_TO_VERIFY && !cloudPin().isEmpty()) { // the user entered a PIN? tryRetrieveDataFromBackend(); } |