Actually use the remoteFolder sent by signal.

This commit is contained in:
Krzesimir Nowak 2013-08-01 14:51:06 +02:00
parent 928eae419f
commit 69a4558fe4
2 changed files with 4 additions and 4 deletions

View file

@ -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
}

View file

@ -59,7 +59,7 @@ private:
void startWizard();
void testOwnCloudConnect();
void checkRemoteFolder();
void checkRemoteFolder(const QString& remoteFolder);
bool createRemoteFolder();
void finalizeSetup( bool );