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
1 changed files with 2 additions and 2 deletions

View File

@ -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);