mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Actually use the remoteFolder sent by signal.
This commit is contained in:
parent
928eae419f
commit
69a4558fe4
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ private:
|
|||
|
||||
void startWizard();
|
||||
void testOwnCloudConnect();
|
||||
void checkRemoteFolder();
|
||||
void checkRemoteFolder(const QString& remoteFolder);
|
||||
bool createRemoteFolder();
|
||||
void finalizeSetup( bool );
|
||||
|
||||
|
|
Loading…
Reference in a new issue