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:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-03-24 15:16:24 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2022-03-24 15:16:24 +0300
commit45cdd151c657af3fd1cf62d218b672bc8009b78a (patch)
tree5a6ebe717811a8123e4a5764bd77124915e16f0c /src/gui/accountstate.cpp
parent41c303ef0de84e5a5438683fa80ebb4e4a42e2c2 (diff)
parent7fa1f562499c49fea602ac4ea20bf4c032e1d022 (diff)
Merge remote-tracking branch 'origin/2.10'
Diffstat (limited to 'src/gui/accountstate.cpp')
-rw-r--r--src/gui/accountstate.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp
index d1e30c876..80b32cc16 100644
--- a/src/gui/accountstate.cpp
+++ b/src/gui/accountstate.cpp
@@ -97,6 +97,10 @@ AccountState::AccountState(AccountPtr account)
checkConnectivity(false);
},
Qt::QueuedConnection);
+
+ connect(account->credentials(), &AbstractCredentials::requestLogout, this, [this] {
+ _state = State::SignedOut;
+ });
}
AccountState::~AccountState()