diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-10-25 15:09:15 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-10-25 15:11:55 +0200 |
commit | 3b7028201544e647257b3bf5e358f5ae335f7897 (patch) | |
tree | 70950f3de2e1ef254d01e75e63e97c6fccf5a7c4 | |
parent | f04191eb55e43611d578a6b753d2f2fc5ed2b697 (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.
-rw-r--r-- | src/qt/walletview.cpp | 4 |
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); |