Fix compile without OWNCLOUD_CLIENT define, thx Jenkins

This commit is contained in:
Klaas Freitag 2013-02-06 11:58:14 +02:00
parent 82d2851a6b
commit 2ac764bd1a

View File

@ -336,11 +336,11 @@ void OwncloudSetupWizard::startWizard(bool intro)
if( !url.isEmpty() ) {
_ocWizard->setOCUrl( url );
}
#ifdef OWNCLOUD_CLIENT
QString user = cfgFile.ownCloudUser();
if( !user.isEmpty() ) {
_ocWizard->setOCUser( user );
}
#ifdef OWNCLOUD_CLIENT
if (intro)
_ocWizard->setStartId(OwncloudWizard::Page_oCWelcome);
else