mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
fix(wizard): avoid creating useless folders when setting up a VFS connection on Mac
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
This commit is contained in:
parent
7ffd6eeb2f
commit
0ca425d220
@ -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