Folder: update the folder version

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
This commit is contained in:
Olivier Goffart 2018-10-31 16:34:23 +01:00 committed by Kevin Ottens
parent 7de453d439
commit 60b17cd128
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -71,7 +71,7 @@ public:
FolderDefinition *folder); FolderDefinition *folder);
/// The highest version in the settings that load() can read /// 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 /. /// Ensure / as separator and trailing /.
static QString prepareLocalPath(const QString &path); static QString prepareLocalPath(const QString &path);