diff options
author | ckamm <mail@ckamm.de> | 2017-02-08 16:28:50 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2017-02-08 16:28:50 +0300 |
commit | 4198d9f420f630f2f346a123422f937bfbec88d2 (patch) | |
tree | 5a65fffa2a02d92548102e3e2070638c30e17778 /src/gui/accountmanager.h | |
parent | 06579a5c709ed4f9399c7924281bfe1c50785486 (diff) |
Settings: Don't migrate settings on access error #5499 (#5523)
Previously, we'd try migrating from legacy settings if reading
the settings failed with an error. Now, we try again after a
couple of seconds and eventually give up.
Diffstat (limited to 'src/gui/accountmanager.h')
-rw-r--r-- | src/gui/accountmanager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/accountmanager.h b/src/gui/accountmanager.h index 70a625da1..2dcb9c88d 100644 --- a/src/gui/accountmanager.h +++ b/src/gui/accountmanager.h @@ -36,7 +36,9 @@ public: /** * Creates account objects from a given settings file. - * return true if the account was restored + * + * Returns false if there was an error reading the settings, + * but note that settings not existing is not an error. */ bool restore(); |