diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-17 23:22:37 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-17 23:22:37 -0700 |
commit | b2b51c833a2c6f71fe411b5f99ccbf3107ef9677 (patch) | |
tree | db7a3bf3ddb6450a6c4514d684f4b03c9c97f4cf /core/checkcloudconnection.cpp | |
parent | 2d5f023b5811ffde028d5c9b680cd99f9f1448f9 (diff) | |
download | subsurface-b2b51c833a2c6f71fe411b5f99ccbf3107ef9677.tar.gz |
QML UI: redesign the user notification
The old system of cloud access updates with fake percentages just wasn't
helpful. Even worse, it hid a lot important information from the user.
This should be more useful (but it will require that we localize the
messages sent from the git progress notifications and make them more
'user ready').
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/checkcloudconnection.cpp')
-rw-r--r-- | core/checkcloudconnection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/checkcloudconnection.cpp b/core/checkcloudconnection.cpp index 2147d90e4..b9a11046a 100644 --- a/core/checkcloudconnection.cpp +++ b/core/checkcloudconnection.cpp @@ -52,18 +52,18 @@ bool CheckCloudConnection::checkServer() mgr->deleteLater(); if (verbose > 1) qWarning() << "Cloud storage: successfully checked connection to cloud server"; - git_storage_update_progress(false, "successfully checked cloud connection"); + git_storage_update_progress("successfully checked cloud connection"); return true; } } else if (seconds < prefs.cloud_timeout) { QString text = QString("waited %1 sec for cloud connetion").arg(seconds); - git_storage_update_progress(false, qPrintable(text)); + git_storage_update_progress(qPrintable(text)); } else { disconnect(reply, SIGNAL(finished()), &loop, SLOT(quit())); reply->abort(); } } - git_storage_update_progress(false, "cloud connection failed"); + git_storage_update_progress("cloud connection failed"); prefs.git_local_only = true; if (verbose) qDebug() << "connection test to cloud server failed" << |