diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-07 09:54:28 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-09 17:03:36 -0700 |
commit | a07376b5345fdb398510ac29835493b7ca75ce77 (patch) | |
tree | 57a23b3f6e2bd455a6b615bfe7ac1e197caca037 /qt-ui/subsurfacewebservices.cpp | |
parent | 318bf5cccc9a8ac2c8ee18939e3c6c4a4e7a0fb3 (diff) | |
download | subsurface-a07376b5345fdb398510ac29835493b7ca75ce77.tar.gz |
Cloud storage: initial support for confirming the email PIN
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 5681974ec..f0208db53 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -953,7 +953,10 @@ QNetworkReply* CloudStorageAuthenticate::authenticate(QString email, QString pas void CloudStorageAuthenticate::uploadFinished() { - qDebug() << "Completed connection with cloud storage backend, response" << reply->readAll(); + QString cloudAuthReply(reply->readAll()); + qDebug() << "Completed connection with cloud storage backend, response" << cloudAuthReply; + prefs.show_cloud_pin = (cloudAuthReply == "[VERIFY]"); + emit finishedAuthenticate(prefs.show_cloud_pin); } void CloudStorageAuthenticate::uploadError(QNetworkReply::NetworkError error) |