aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsmodel.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-07-26 14:01:36 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-07-28 11:30:03 +0200
commit45eba4b1e0658639bb92730723b987f05e171529 (patch)
tree4c180a13bec5b53d1840e0af5e8990600f121177 /src/qt/optionsmodel.h
parent0179a39f9da1fa417a592e7bf3ebbb1390a292b9 (diff)
downloadbitcoin-45eba4b1e0658639bb92730723b987f05e171529.tar.xz
[Qt] Add dbcache migration path
Github-Pull: #8407 Rebased-From: 893f379ba0befef5301208b6bee8206ac4e76329
Diffstat (limited to 'src/qt/optionsmodel.h')
-rw-r--r--src/qt/optionsmodel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h
index 3b491ceac2..b23b5f2607 100644
--- a/src/qt/optionsmodel.h
+++ b/src/qt/optionsmodel.h
@@ -84,9 +84,11 @@ private:
/* settings that were overriden by command-line */
QString strOverriddenByCommandLine;
- /// Add option to list of GUI options overridden through command line/config file
+ // Add option to list of GUI options overridden through command line/config file
void addOverriddenOption(const std::string &option);
+ // Check settings version and upgrade default values if required
+ void checkAndMigrate();
Q_SIGNALS:
void displayUnitChanged(int unit);
void coinControlFeaturesChanged(bool);