diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-01-21 22:28:16 +0200 |
---|---|---|
committer | William Casarin <jb55@jb55.com> | 2022-02-22 13:50:30 -0800 |
commit | aa23960fdf1deff321ecea435026c87db78498fb (patch) | |
tree | 44dcd5649c196a46d5764f32cb1fde03271cfa4a /src/qt/transactiondesc.h | |
parent | 75832fdc37ea3fe9cf515bd1946e220fe07a440b (diff) | |
download | bitcoin-aa23960fdf1deff321ecea435026c87db78498fb.tar.xz |
qt, refactor: Make BitcoinUnits::Unit a scoped enum
Diffstat (limited to 'src/qt/transactiondesc.h')
-rw-r--r-- | src/qt/transactiondesc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/transactiondesc.h b/src/qt/transactiondesc.h index cf955a433c..ecd5b95c5e 100644 --- a/src/qt/transactiondesc.h +++ b/src/qt/transactiondesc.h @@ -5,6 +5,8 @@ #ifndef BITCOIN_QT_TRANSACTIONDESC_H #define BITCOIN_QT_TRANSACTIONDESC_H +#include <qt/bitcoinunits.h> + #include <QObject> #include <QString> @@ -24,7 +26,7 @@ class TransactionDesc: public QObject Q_OBJECT public: - static QString toHTML(interfaces::Node& node, interfaces::Wallet& wallet, TransactionRecord *rec, int unit); + static QString toHTML(interfaces::Node& node, interfaces::Wallet& wallet, TransactionRecord* rec, BitcoinUnit unit); private: TransactionDesc() {} |