Browse Source

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.
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
3b70282015
  1. 4
      src/qt/walletview.cpp

4
src/qt/walletview.cpp

@ -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…
Cancel
Save