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:
authorOlivier Goffart <ogoffart@woboq.com>2016-04-26 17:09:39 +0300
committerOlivier Goffart <ogoffart@woboq.com>2016-04-26 17:53:24 +0300
commitcd29875b764686d1e643a7fa6322cb70ea3293e8 (patch)
tree54a95ae5b924a759af74dba13c17211fb30b1cb1 /src/gui/folderman.h
parent4e7c09de83e855ebbc0b8014175d1f0bd20632b6 (diff)
Folder: Generate an alias for new folders
Before commit 1a51b6718a345f1e5f28dd1f4e0c04bdaeeb5357, the wizard was making sure folder had an alias but this is no longer the case. So generate still an unique alias. Alias is not used in the UI any longer, it's just use for internal purposes. For issue #4737
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 124863f2b..e597e52d4 100644
--- a/src/gui/folderman.h
+++ b/src/gui/folderman.h
@@ -201,7 +201,7 @@ private:
/** Adds a new folder, does not add it to the account settings and
* does not set an account on the new folder.
*/
- Folder* addFolderInternal(const FolderDefinition& folderDefinition, AccountState* accountState);
+ Folder* addFolderInternal(FolderDefinition folderDefinition, AccountState* accountState);
/* unloads a folder object, does not delete it */
void unloadFolder( Folder * );