diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-10-26 15:57:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-26 15:57:10 +0200 |
commit | 405923ecfdca7993a3f6433eba4f0de0d03161f5 (patch) | |
tree | 463e846d897487bcaa628c7a8c03b601d4b263cd | |
parent | e64dcd12bd0308d389c0dec6cf2d957e38b3d0f1 (diff) | |
download | subsurface-405923ecfdca7993a3f6433eba4f0de0d03161f5.tar.gz |
Desktop UI: notify user if they need to enter a cloud PIN
This will need to be merged / cleaned up once the git storage fixes have
been merged.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | core/cloudstorage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/cloudstorage.cpp b/core/cloudstorage.cpp index b6a16f8d2..46888e2b2 100644 --- a/core/cloudstorage.cpp +++ b/core/cloudstorage.cpp @@ -61,6 +61,7 @@ void CloudStorageAuthenticate::uploadFinished() myLastError.clear(); } else if (cloudAuthReply == QLatin1String("[VERIFY]")) { csSettings.setVerificationStatus(CS_NEED_TO_VERIFY); + report_error(qPrintable(tr("Cloud account verification required, enter PIN in preferences"))); } else if (cloudAuthReply == QLatin1String("[PASSWDCHANGED]")) { free(prefs.cloud_storage_password); prefs.cloud_storage_password = prefs.cloud_storage_newpassword; |