[Pkg-owncloud-commits] [owncloud-client] 74/120: Account: Additional on top fix for #3617

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:47 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 1ad80878b202d81580495ae72b884b6cbaff043d
Author: Markus Goetz <markus at woboq.com>
Date:   Fri Aug 14 12:37:19 2015 +0200

    Account: Additional on top fix for #3617
---
 src/gui/accountmanager.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gui/accountmanager.cpp b/src/gui/accountmanager.cpp
index 1ef1935..c4c4b4c 100644
--- a/src/gui/accountmanager.cpp
+++ b/src/gui/accountmanager.cpp
@@ -131,9 +131,10 @@ void AccountManager::save(bool saveCredentials)
 
 void AccountManager::wantsAccountSavedSlot(AccountPtr a)
 {
+    qDebug() << "Saving account" << a->url().toString();
     auto settings = Account::settingsWithGroup(QLatin1String(accountsC));
     settings->beginGroup(a->id());
-    save(a, *settings, true);
+    save(a, *settings, false); // don't save credentials they might not have been loaded yet
     settings->endGroup();
 }
 

-- 
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