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