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.
This commit is contained in:
Wladimir J. van der Laan 2013-10-25 15:09:15 +02:00
parent f04191eb55
commit 3b70282015

View file

@ -54,8 +54,8 @@ WalletView::WalletView(QWidget *parent):
vbox->addLayout(hbox_buttons); vbox->addLayout(hbox_buttons);
transactionsPage->setLayout(vbox); transactionsPage->setLayout(vbox);
receiveCoinsPage = new ReceiveCoinsDialog(gui); receiveCoinsPage = new ReceiveCoinsDialog();
sendCoinsPage = new SendCoinsDialog(gui); sendCoinsPage = new SendCoinsDialog();
addWidget(overviewPage); addWidget(overviewPage);
addWidget(transactionsPage); addWidget(transactionsPage);