diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-08 23:03:41 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-09 07:45:47 +0200 |
commit | 5ac114c7566b7d3aa32b93124ccb5e5e364edc25 (patch) | |
tree | 2ef59f40ec0827a957255efb1eaa7fa1e05a12aa /src/qt/optionsmodel.h | |
parent | 6ddf861078e465dcb89e14e8cad6229c7abf64bb (diff) |
Make it possible to set user interface language from options dialog
Diffstat (limited to 'src/qt/optionsmodel.h')
-rw-r--r-- | src/qt/optionsmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index da4e86f104..4315a33f8c 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -27,6 +27,7 @@ public: DisplayUnit, // BitcoinUnits::Unit DisplayAddresses, // bool DetachDatabases, // bool + Language, // QString OptionIDRowCount, }; @@ -45,11 +46,13 @@ public: bool getMinimizeOnClose(); int getDisplayUnit(); bool getDisplayAddresses(); + QString getLanguage() { return language; } private: int nDisplayUnit; bool bDisplayAddresses; bool fMinimizeToTray; bool fMinimizeOnClose; + QString language; signals: void displayUnitChanged(int unit); |