Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2013-11-27 17:12:30 +0400
committerDaniel Molkentin <danimo@owncloud.com>2013-11-27 17:12:30 +0400
commite719e80409e28e9a6c52e723a5e93238d1133130 (patch)
tree02316a6efd85d0ce4fb63b563895c9fdf8411dc5
parent310278f58025441a986c7885b008f208adde02d8 (diff)
ConnectionValidator: Account::setState no longer takes a bool
This makes the client come up with the correct state when the initial connect fails.
-rw-r--r--src/mirall/connectionvalidator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirall/connectionvalidator.cpp b/src/mirall/connectionvalidator.cpp
index f6449c944..522f3fae6 100644
--- a/src/mirall/connectionvalidator.cpp
+++ b/src/mirall/connectionvalidator.cpp
@@ -114,7 +114,7 @@ void ConnectionValidator::slotStatusFound(const QUrl&url, const QVariantMap &inf
// status.php could not be loaded.
void ConnectionValidator::slotNoStatusFound(QNetworkReply *reply)
{
- _account->setState(false);
+ _account->setState(Account::Disconnected);
// ### TODO
_errors.append(tr("Unable to connect to %1").arg(_account->url().toString()));