AccountWizard: fix when the theme specify a override URL #3699

This commit is contained in:
Olivier Goffart 2015-08-29 18:49:10 +02:00
parent 03954b5918
commit 8fb4adf40d

View file

@ -80,6 +80,7 @@ void OwncloudSetupWizard::startWizard()
{
AccountPtr account = AccountManager::createAccount();
account->setCredentials(CredentialsFactory::create("dummy"));
account->setUrl(Theme::instance()->overrideServerUrl());
_ocWizard->setAccount(account);
_ocWizard->setOCUrl(account->url().toString());