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:
parent
f04191eb55
commit
3b70282015
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue