diff options
author | Christian Kamm <mail@ckamm.de> | 2018-05-02 16:40:54 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-12-15 12:57:53 +0300 |
commit | 87ba4e6b9cde0cbc077de1217072a311733a03c0 (patch) | |
tree | bc563048656bde141b13c81e1caf83614717873d /src/gui/folderman.h | |
parent | aa6f5f59c437ed244c949857b2bbb6b961d59d0a (diff) |
Config: Add version flags to accounts and folders
Also, if there is too-new configuration, backup the file, show a
warning message asking the user whether it's ok to discard the
configuration from the future.
See #6504
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r-- | src/gui/folderman.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h index 8d81ace0d..7264e1f82 100644 --- a/src/gui/folderman.h +++ b/src/gui/folderman.h @@ -68,6 +68,12 @@ public: int setupFolders(); int setupFoldersMigration(); + /** + * Returns a list of keys that can't be read because they are from + * future versions. + */ + static QStringList backwardMigrationKeys(); + OCC::Folder::Map map(); /** Adds a folder for an account, ensures the journal is gone and saves it in the settings. |