aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletview.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-10-26 19:12:29 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-10-30 22:43:00 +0100
commit868d3ee5acf0c0a481466c70eba3e8d142537d14 (patch)
tree8159e3091bd78039924924dc635b3c92a66bfb96 /src/qt/walletview.cpp
parent033ffc4377f009d6b7529bf30591287b50d773df (diff)
downloadbitcoin-868d3ee5acf0c0a481466c70eba3e8d142537d14.tar.xz
transactionview: add message() signal
- allow to use message() in transactionview by connecting to the message() signal in WalletView
Diffstat (limited to 'src/qt/walletview.cpp')
-rw-r--r--src/qt/walletview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp
index 5622fcfb17..d1e5e47bd5 100644
--- a/src/qt/walletview.cpp
+++ b/src/qt/walletview.cpp
@@ -67,6 +67,8 @@ WalletView::WalletView(QWidget *parent):
// Pass through messages from sendCoinsPage
connect(sendCoinsPage, SIGNAL(message(QString,QString,unsigned int)), this, SIGNAL(message(QString,QString,unsigned int)));
+ // Pass through messages from transactionView
+ connect(transactionView, SIGNAL(message(QString,QString,unsigned int)), this, SIGNAL(message(QString,QString,unsigned int)));
}
WalletView::~WalletView()
@@ -110,7 +112,7 @@ void WalletView::setWalletModel(WalletModel *walletModel)
if (walletModel)
{
- // Receive and report messages from wallet thread
+ // Receive and pass through messages from wallet model
connect(walletModel, SIGNAL(message(QString,QString,unsigned int)), this, SIGNAL(message(QString,QString,unsigned int)));
// Handle changes in encryption status