aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-08-07 09:36:02 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-08-08 12:13:27 +0200
commit314fbd9ac7713e812e85960499474dcf453b563e (patch)
tree195218cff6ba528958cb33bc80f2da6a10103fed /src/qt
parent8ca6a1617687ce613b0426c2627ba79e710a695f (diff)
[Qt] use BitcoinGUI::DEFAULT_WALLET constant in bitcoin.cpp
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index a43e7cb756..c0dee66931 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -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)));