projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de453d
)
Folder: update the folder version
author
Olivier Goffart
<ogoffart@woboq.com>
Wed, 31 Oct 2018 15:34:23 +0000
(16:34 +0100)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:15 +0000
(10:58 +0100)
Since the new index would crash old version of the client, we need to
upgrade folder version so they do not load in the client 2.5.0
src/gui/folder.h
patch
|
blob
|
history
diff --git
a/src/gui/folder.h
b/src/gui/folder.h
index 39baa989efb7eee438f30f00dd262d108fb9d7ee..8d4ab1915e10d59926343b11800c35f391141c03 100644
(file)
--- a/
src/gui/folder.h
+++ b/
src/gui/folder.h
@@
-71,7
+71,7
@@
public:
FolderDefinition *folder);
/// The highest version in the settings that load() can read
- static int maxSettingsVersion() { return
1
; }
+ static int maxSettingsVersion() { return
2
; }
/// Ensure / as separator and trailing /.
static QString prepareLocalPath(const QString &path);