diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2016-10-24 07:21:51 +0000 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-03-06 12:03:26 +0800 |
commit | 85d5319716b7b31b27bc7950d756465ae472f11d (patch) | |
tree | 74dc713c03bcbf6608a8ad1e79a3e9a70b120c22 /src/qt/walletview.h | |
parent | e449f9a9e620fb909eb7b32d815b413d235f05ad (diff) |
Qt: Ensure UI updates only come from the currently selected walletView
Diffstat (limited to 'src/qt/walletview.h')
-rw-r--r-- | src/qt/walletview.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt/walletview.h b/src/qt/walletview.h index 30d68e4eff..739b3a0b6d 100644 --- a/src/qt/walletview.h +++ b/src/qt/walletview.h @@ -44,6 +44,7 @@ public: The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic. */ void setClientModel(ClientModel *clientModel); + WalletModel *getWalletModel() { return walletModel; } /** Set the wallet model. The wallet model represents a bitcoin wallet, and offers access to the list of transactions, address book and sending functionality. @@ -119,9 +120,9 @@ Q_SIGNALS: /** Fired when a message should be reported to the user */ void message(const QString &title, const QString &message, unsigned int style); /** Encryption status of wallet changed */ - void encryptionStatusChanged(int status); + void encryptionStatusChanged(); /** HD-Enabled status of wallet changed (only possible during startup) */ - void hdEnabledStatusChanged(int hdEnabled); + void hdEnabledStatusChanged(); /** 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); /** Notify that the out of sync warning icon has been pressed */ |