aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletview.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-10-25 15:09:15 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-10-25 15:11:55 +0200
commit3b7028201544e647257b3bf5e358f5ae335f7897 (patch)
tree70950f3de2e1ef254d01e75e63e97c6fccf5a7c4 /src/qt/walletview.cpp
parentf04191eb55e43611d578a6b753d2f2fc5ed2b697 (diff)
qt: ReceiveCoinsDialog and SendCoinsDialog should not take a gui object
They're supposed to be children of the walletview, and are added with addWidget later on. Inconsequential change because the object passed was already 0.
Diffstat (limited to 'src/qt/walletview.cpp')
-rw-r--r--src/qt/walletview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp
index 7b1729b511..578874c54e 100644
--- a/src/qt/walletview.cpp
+++ b/src/qt/walletview.cpp
@@ -54,8 +54,8 @@ WalletView::WalletView(QWidget *parent):
vbox->addLayout(hbox_buttons);
transactionsPage->setLayout(vbox);
- receiveCoinsPage = new ReceiveCoinsDialog(gui);
- sendCoinsPage = new SendCoinsDialog(gui);
+ receiveCoinsPage = new ReceiveCoinsDialog();
+ sendCoinsPage = new SendCoinsDialog();
addWidget(overviewPage);
addWidget(transactionsPage);