From 85d5319716b7b31b27bc7950d756465ae472f11d Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Mon, 24 Oct 2016 07:21:51 +0000 Subject: Qt: Ensure UI updates only come from the currently selected walletView --- src/qt/walletmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qt/walletmodel.h') diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index 9e13de79be..b0045fa272 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -255,7 +255,7 @@ Q_SIGNALS: const CAmount& watchOnlyBalance, const CAmount& watchUnconfBalance, const CAmount& watchImmatureBalance); // Encryption status of wallet changed - void encryptionStatusChanged(int status); + void encryptionStatusChanged(); // Signal emitted when wallet needs to be unlocked // It is valid behaviour for listeners to keep the wallet locked after this signal; -- cgit v1.2.3 From d49cc70e6d96b45a4c062cbe2fa49a8181c8560f Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Fri, 9 Sep 2016 20:55:59 +0000 Subject: Qt: Add wallet selector to debug console --- src/qt/walletmodel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qt/walletmodel.h') diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index b0045fa272..02f59d001d 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -131,6 +131,8 @@ public: TransactionTableModel *getTransactionTableModel(); RecentRequestsTableModel *getRecentRequestsTableModel(); + CWallet *getWallet() const { return wallet; }; + CAmount getBalance(const CCoinControl *coinControl = nullptr) const; CAmount getUnconfirmedBalance() const; CAmount getImmatureBalance() const; -- cgit v1.2.3 From 12d8d2681e34a191f5d82f15448f8c4c9a14f6d0 Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Tue, 6 Mar 2018 12:26:40 +0800 Subject: Qt: When multiple wallets are used, include in notifications the name --- src/qt/walletmodel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qt/walletmodel.h') diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index 02f59d001d..08175abe85 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -222,6 +222,9 @@ public: int getDefaultConfirmTarget() const; + QString getWalletName() const; + + static bool isMultiwallet(); private: CWallet *wallet; bool fHaveWatchOnly; -- cgit v1.2.3