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:
authorChristian Kamm <mail@ckamm.de>2018-05-14 15:37:48 +0300
committerckamm <mail@ckamm.de>2018-05-24 13:18:44 +0300
commit5811c74f9ce13268272fa70eed209ff21f987388 (patch)
tree107019be976eb247a7b14c7930abfbbf1f923bdb /src/gui/accountmanager.h
parent57a28819068b2ca77e264ab754c1a15b064b881b (diff)
Settings migration: Preserve future settings where possible
See discussion in #6506
Diffstat (limited to 'src/gui/accountmanager.h')
-rw-r--r--src/gui/accountmanager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/accountmanager.h b/src/gui/accountmanager.h
index 744bc92b5..2acce1c62 100644
--- a/src/gui/accountmanager.h
+++ b/src/gui/accountmanager.h
@@ -81,7 +81,7 @@ public:
* Returns the list of settings keys that can't be read because
* they are from the future.
*/
- static QStringList backwardMigrationKeys();
+ static void backwardMigrationSettingsKeys(QStringList *deleteKeys, QStringList *ignoreKeys);
private:
// saving and loading Account to settings
@@ -111,5 +111,7 @@ Q_SIGNALS:
private:
AccountManager() {}
QList<AccountStatePtr> _accounts;
+ /// Account ids from settings that weren't read
+ QSet<QString> _additionalBlockedAccountIds;
};
}