diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-14 14:06:44 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-14 14:06:44 -0700 |
commit | 4b120d1bf54f339eaea488c71faecb5395defaf3 (patch) | |
tree | 433f2e86a8fd782ec741b793c6e89f5cab31ec88 /qt-ui/subsurfacewebservices.cpp | |
parent | b5eb66545b4c28809610d0778b9a797da9dda002 (diff) | |
download | subsurface-4b120d1bf54f339eaea488c71faecb5395defaf3.tar.gz |
Cloud storage: show in preferences if cloud account was verified
This should make it easier to figure out what's happening.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 06e4d1ec2..1deb3099c 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -978,15 +978,14 @@ void CloudStorageAuthenticate::uploadFinished() qDebug() << "Completed connection with cloud storage backend, response" << cloudAuthReply; if (cloudAuthReply == "[VERIFIED]" || cloudAuthReply == "[OK]") { prefs.cloud_verification_status = CS_VERIFIED; - emit finishedAuthenticate(); } else if (cloudAuthReply == "[VERIFY]") { prefs.cloud_verification_status = CS_NEED_TO_VERIFY; - emit finishedAuthenticate(); } else { prefs.cloud_verification_status = CS_INCORRECT_USER_PASSWD; report_error("%s", qPrintable(cloudAuthReply)); MainWindow::instance()->getNotificationWidget()->showNotification(get_error_string(), KMessageWidget::Error); } + emit finishedAuthenticate(); } void CloudStorageAuthenticate::uploadError(QNetworkReply::NetworkError error) |