[Pkg-owncloud-commits] [owncloud-client] 93/175: ConValidator: Always run with new credentials. #3266
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Aug 8 10:36:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 0af2f7e5ed5198728e393ac54d1ae7d8bcadffce
Author: Christian Kamm <kamm at incasoftware.de>
Date: Fri May 22 09:38:44 2015 +0200
ConValidator: Always run with new credentials. #3266
---
src/gui/accountstate.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp
index 05ee53a..9588cd0 100644
--- a/src/gui/accountstate.cpp
+++ b/src/gui/accountstate.cpp
@@ -269,6 +269,12 @@ void AccountState::slotCredentialsFetched(AbstractCredentials* credentials)
return;
}
+ // When new credentials become available we always want to restart the
+ // connection validation, even if it's currently running.
+ if (_connectionValidator) {
+ delete _connectionValidator;
+ }
+
checkConnectivity();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list