diff --git a/src/mirall/owncloudsetupwizard.cpp b/src/mirall/owncloudsetupwizard.cpp index f0d2beee8..0fcd08eb9 100644 --- a/src/mirall/owncloudsetupwizard.cpp +++ b/src/mirall/owncloudsetupwizard.cpp @@ -331,11 +331,11 @@ void OwncloudSetupWizard::slotCreateLocalAndRemoteFolders(const QString& localFo } if( localFolderOk ) { - checkRemoteFolder(); + checkRemoteFolder(remoteFolder); } } -void OwncloudSetupWizard::checkRemoteFolder() +void OwncloudSetupWizard::checkRemoteFolder(const QString& remoteFolder) { ownCloudInfo* info(ownCloudInfo::instance()); connect( info,SIGNAL(ownCloudDirExists(QString,QNetworkReply*)), @@ -343,7 +343,7 @@ void OwncloudSetupWizard::checkRemoteFolder() qDebug() << "# checking for existence of remote folder."; info->setCustomConfigHandle(_configHandle); - _checkRemoteFolderRequest = info->getWebDAVPath(_remoteFolder ); // this call needs to be authenticated. + _checkRemoteFolderRequest = info->getWebDAVPath(remoteFolder); // this call needs to be authenticated. // continue in slotAuthCheckReply } diff --git a/src/mirall/owncloudsetupwizard.h b/src/mirall/owncloudsetupwizard.h index 66284a2b8..2fe1acf4b 100644 --- a/src/mirall/owncloudsetupwizard.h +++ b/src/mirall/owncloudsetupwizard.h @@ -59,7 +59,7 @@ private: void startWizard(); void testOwnCloudConnect(); - void checkRemoteFolder(); + void checkRemoteFolder(const QString& remoteFolder); bool createRemoteFolder(); void finalizeSetup( bool );