From 08babbf38df9dbba7d068453ea61fdc9d145c0eb Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 6 Feb 2013 10:07:58 +0200 Subject: [PATCH] Set credentials in ownCloudInfo after these have been fetched. --- src/mirall/application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index 1377493d9..b77831265 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -324,6 +324,8 @@ void Application::slotCredentialsFetched(bool ok) _actionAddFolder->setEnabled( false ); _actionOpenStatus->setEnabled( false ); } else { + ownCloudInfo::instance()->setCredentials( CredentialStore::instance()->user(), + CredentialStore::instance()->password() ); // Credential fetched ok. QTimer::singleShot( 0, this, SLOT( slotCheckAuthentication() )); }