aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/optionsmodel.h')
-rw-r--r--src/qt/optionsmodel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h
index 4ba44dc23f..ed26f83d55 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: