Browse Source

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

0.10
Philip Kaufmann 11 years ago
parent
commit
314fbd9ac7
  1. 4
      src/qt/bitcoin.cpp

4
src/qt/bitcoin.cpp

@ -414,8 +414,8 @@ void BitcoinApplication::initializeResult(int retval) @@ -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)));

Loading…
Cancel
Save