aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletview.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-01-21 22:28:16 +0200
committerWilliam Casarin <jb55@jb55.com>2022-02-22 13:50:30 -0800
commitaa23960fdf1deff321ecea435026c87db78498fb (patch)
tree44dcd5649c196a46d5764f32cb1fde03271cfa4a /src/qt/walletview.h
parent75832fdc37ea3fe9cf515bd1946e220fe07a440b (diff)
qt, refactor: Make BitcoinUnits::Unit a scoped enum
Diffstat (limited to 'src/qt/walletview.h')
-rw-r--r--src/qt/walletview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/walletview.h b/src/qt/walletview.h
index 2f9d344bc8..301084ffa9 100644
--- a/src/qt/walletview.h
+++ b/src/qt/walletview.h
@@ -6,6 +6,7 @@
#define BITCOIN_QT_WALLETVIEW_H
#include <consensus/amount.h>
+#include <qt/bitcoinunits.h>
#include <QStackedWidget>
@@ -115,7 +116,7 @@ Q_SIGNALS:
/** Encryption status of wallet changed */
void encryptionStatusChanged();
/** Notify that a new transaction appeared */
- void incomingTransaction(const QString& date, int unit, const CAmount& amount, const QString& type, const QString& address, const QString& label, const QString& walletName);
+ void incomingTransaction(const QString& date, BitcoinUnit unit, const CAmount& amount, const QString& type, const QString& address, const QString& label, const QString& walletName);
/** Notify that the out of sync warning icon has been pressed */
void outOfSyncWarningClicked();
};