[Qt] use BitcoinGUI::DEFAULT_WALLET constant in bitcoin.cpp

This commit is contained in:
Philip Kaufmann 2014-08-07 09:36:02 +02:00
parent 8ca6a16176
commit 314fbd9ac7

View File

@ -414,8 +414,8 @@ void BitcoinApplication::initializeResult(int retval)
{
walletModel = new WalletModel(pwalletMain, optionsModel);
window->addWallet("~Default", walletModel);
window->setCurrentWallet("~Default");
window->addWallet(BitcoinGUI::DEFAULT_WALLET, walletModel);
window->setCurrentWallet(BitcoinGUI::DEFAULT_WALLET);
connect(walletModel, SIGNAL(coinsSent(CWallet*,SendCoinsRecipient,QByteArray)),
paymentServer, SLOT(fetchPaymentACK(CWallet*,const SendCoinsRecipient&,QByteArray)));