[Qt] use BitcoinGUI::DEFAULT_WALLET constant in bitcoin.cpp
This commit is contained in:
parent
8ca6a16176
commit
314fbd9ac7
1 changed files with 2 additions and 2 deletions
|
@ -414,8 +414,8 @@ void BitcoinApplication::initializeResult(int retval)
|
||||||
{
|
{
|
||||||
walletModel = new WalletModel(pwalletMain, optionsModel);
|
walletModel = new WalletModel(pwalletMain, optionsModel);
|
||||||
|
|
||||||
window->addWallet("~Default", walletModel);
|
window->addWallet(BitcoinGUI::DEFAULT_WALLET, walletModel);
|
||||||
window->setCurrentWallet("~Default");
|
window->setCurrentWallet(BitcoinGUI::DEFAULT_WALLET);
|
||||||
|
|
||||||
connect(walletModel, SIGNAL(coinsSent(CWallet*,SendCoinsRecipient,QByteArray)),
|
connect(walletModel, SIGNAL(coinsSent(CWallet*,SendCoinsRecipient,QByteArray)),
|
||||||
paymentServer, SLOT(fetchPaymentACK(CWallet*,const SendCoinsRecipient&,QByteArray)));
|
paymentServer, SLOT(fetchPaymentACK(CWallet*,const SendCoinsRecipient&,QByteArray)));
|
||||||
|
|
Loading…
Reference in a new issue