diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2021-12-02 16:59:46 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2023-07-21 17:45:36 +0000 |
commit | 98e9ac51992b2332587d87f25351988bf4863238 (patch) | |
tree | 4e971c4bbfeab4cadcf14e426d756bb2b3da0e16 /src/qt/optionsmodel.h | |
parent | 3a6757eed9a24e91e7d800d8026cc3a5c4840141 (diff) |
GUI: Use FontChoice type in OptionsModel settings abstraction
Diffstat (limited to 'src/qt/optionsmodel.h')
-rw-r--r-- | src/qt/optionsmodel.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 79928d2fa9..1984002028 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -62,7 +62,7 @@ public: DisplayUnit, // BitcoinUnit ThirdPartyTxUrls, // QString Language, // QString - UseEmbeddedMonospacedFont, // bool + FontForMoney, // FontChoice CoinControlFeatures, // bool SubFeeFromAmount, // bool ThreadsScriptVerif, // int @@ -138,6 +138,7 @@ private: /* settings that were overridden by command-line */ QString strOverriddenByCommandLine; + static QString FontChoiceToString(const OptionsModel::FontChoice&); static FontChoice FontChoiceFromString(const QString&); // Add option to list of GUI options overridden through command line/config file @@ -153,4 +154,6 @@ Q_SIGNALS: void fontForMoneyChanged(const QFont&); }; +Q_DECLARE_METATYPE(OptionsModel::FontChoice) + #endif // BITCOIN_QT_OPTIONSMODEL_H |