Set credentials in ownCloudInfo after these have been fetched.

This commit is contained in:
Klaas Freitag 2013-02-06 10:07:58 +02:00
parent 2ae5ae6962
commit 08babbf38d

View file

@ -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() ));
}