diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2013-11-27 17:12:30 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2013-11-27 17:12:30 +0400 |
commit | e719e80409e28e9a6c52e723a5e93238d1133130 (patch) | |
tree | 02316a6efd85d0ce4fb63b563895c9fdf8411dc5 /src | |
parent | 310278f58025441a986c7885b008f208adde02d8 (diff) |
ConnectionValidator: Account::setState no longer takes a bool
This makes the client come up with the correct state when the
initial connect fails.
Diffstat (limited to 'src')
-rw-r--r-- | src/mirall/connectionvalidator.cpp | 2 |
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())); |