Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2016-09-30 15:08:00 +0300
committerKlaas Freitag <freitag@owncloud.com>2016-09-30 15:08:00 +0300
commit838c072ccc2dd56b56ef256b70179361d8f226d2 (patch)
treec554d9790a4f10518a212c222dc6005bcc5d1da1 /src/gui/folderman.h
parented6a708460c6bc9a31a2d903353c4e30ef0695fc (diff)
Folder Setup: Allow to set up more sync connects to the same folder.
One local folder can now be configured as sync target for multiple accounts as long as their url and user differ. Also this patch accepts that the sync folder is behind a symlink. Also this patch fixes a bug that before the user input was taken canonically which was not working for the symlink handling.
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r--src/gui/folderman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h
index d312d9b0c..19a515541 100644
--- a/src/gui/folderman.h
+++ b/src/gui/folderman.h
@@ -105,7 +105,7 @@ public:
*
* @returns an empty string if it is allowed, or an error if it is not allowed
*/
- QString checkPathValidityForNewFolder(const QString &path, bool forNewDirectory = false);
+ QString checkPathValidityForNewFolder(const QString &path, const QUrl& serverUrl = QUrl(), bool forNewDirectory = false);
/**
* While ignoring hidden files can theoretically be switched per folder,