diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2013-11-23 03:14:02 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2013-11-25 18:34:16 +0400 |
commit | 4e22fff42709bfdf3b1dfd2b749acb79d3f757af (patch) | |
tree | 25bf54046ce6887df0001043c95c685b5f8bd1f3 /src/mirall/account.cpp | |
parent | 6165c38289482bfd331018f2478bf7d03f0350d3 (diff) |
Introduce online/offline state, accessible via GUI
Diffstat (limited to 'src/mirall/account.cpp')
-rw-r--r-- | src/mirall/account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirall/account.cpp b/src/mirall/account.cpp index fb6acf8d0..a469b2d0d 100644 --- a/src/mirall/account.cpp +++ b/src/mirall/account.cpp @@ -293,9 +293,9 @@ bool Account::isOnline() const void Account::setOnline(bool online) { if (_isOnline != online) { + _isOnline = online; emit onlineStateChanged(online); } - _isOnline = online; } void Account::slotHandleErrors(QNetworkReply *reply , QList<QSslError> errors) |