mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #8624 from nextcloud/bugfix/noid/macvfs-do-not-create-folder-on-accountsetup
fix(wizard): avoid creating useless folders when setting up a VFS connection on Mac
This commit is contained in:
commit
45a3dc4201
@ -479,6 +479,14 @@ bool OwncloudSetupWizard::checkDowngradeAdvised(QNetworkReply *reply)
|
||||
|
||||
void OwncloudSetupWizard::slotCreateLocalAndRemoteFolders(const QString &localFolder, const QString &remoteFolder)
|
||||
{
|
||||
#ifdef BUILD_FILE_PROVIDER_MODULE
|
||||
if (Mac::FileProvider::fileProviderAvailable() && _ocWizard->useVirtualFileSync()) {
|
||||
qCInfo(lcWizard) << "Not creating local/remote folders as because macOS File Provider uses its own sync root";
|
||||
finalizeSetup(true);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
qCInfo(lcWizard) << "Setup local sync folder for new oC connection " << localFolder;
|
||||
const QDir fi(localFolder);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user