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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-04-13 13:19:25 +0300
committerHannah von Reth <vonreth@kde.org>2022-04-13 17:57:48 +0300
commit277ebe0296b0b0edea45cc0029d2f93a3e5e9bb6 (patch)
treee4f1aabac011ed503238583b67ade0cac51726ff /src/gui/folderman.h
parent8e9727721fbeafb9455e10801d8f586ac70ed9ef (diff)
Add display name to folders
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r--src/gui/folderman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h
index a23f23403..3c7db4d95 100644
--- a/src/gui/folderman.h
+++ b/src/gui/folderman.h
@@ -117,8 +117,9 @@ public:
/**
* Adds a folder for an account. Used to be part of the wizard code base. Constructs the folder definition from the parameters.
+ * In case Wizard::SyncMode::SelectiveSync is used, nullptr is returned.
*/
- void addFolderFromWizard(AccountStatePtr accountStatePtr, const QString &localFolder, const QString &remotePath, const QUrl &webDavUrl, Wizard::SyncMode syncMode);
+ Folder *addFolderFromWizard(AccountStatePtr accountStatePtr, const QString &localFolder, const QString &remotePath, const QUrl &webDavUrl, const QString &displayName, Wizard::SyncMode syncMode);
/** Removes a folder */
void removeFolder(Folder *);