diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-07-29 14:36:35 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-07-29 14:36:35 +0200 |
| commit | ee014e5b10f5f65820ff056311051ff49813b294 (patch) | |
| tree | d9c0dd04b021c2c828bf55ba6ff33d93d07b5276 /src/qt/optionsmodel.h | |
| parent | Merge branch 'master' of https://github.com/bitcoin/bitcoin (diff) | |
| download | discoin-ee014e5b10f5f65820ff056311051ff49813b294.tar.xz discoin-ee014e5b10f5f65820ff056311051ff49813b294.zip | |
Full support for other units, add configuration option for default unit (used when displaying amounts)
Diffstat (limited to 'src/qt/optionsmodel.h')
| -rw-r--r-- | src/qt/optionsmodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 4ba44dc23..ed26f83d5 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -26,6 +26,7 @@ public: ProxyIP, // QString ProxyPort, // QString Fee, // qint64 + DisplayUnit, // BitcoinUnits::Unit OptionIDRowCount }; @@ -37,10 +38,13 @@ public: qint64 getTransactionFee(); bool getMinimizeToTray(); bool getMinimizeOnClose(); + int getDisplayUnit(); private: // Wallet stores persistent options CWallet *wallet; + int nDisplayUnit; signals: + void displayUnitChanged(int unit); public slots: |