aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-07-24 22:52:21 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-07-24 22:52:21 -0700
commit5e67e124cfb3fbda4023fb972e377d76d12548dd (patch)
treeccd18d8b52046ed16bc4f5886e4afc8c1aabca04 /src/qt
parent0a740650a52a21b7d82b43524017c87643af3224 (diff)
parent674cb304b376358fdcb17b4a0b16ae7b00cdbedc (diff)
Merge pull request #1889 from tcatm/multi-wallet
let user select wallet file with -wallet=foo.dat
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/optionsmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/optionsmodel.cpp b/src/qt/optionsmodel.cpp
index 6b1b4e3d8e..7ebe5b4755 100644
--- a/src/qt/optionsmodel.cpp
+++ b/src/qt/optionsmodel.cpp
@@ -89,7 +89,7 @@ bool OptionsModel::Upgrade()
settings.setValue("bImportFinished", true);
// Move settings from old wallet.dat (if any):
- CWalletDB walletdb("wallet.dat");
+ CWalletDB walletdb(strWalletFile);
QList<QString> intOptions;
intOptions << "nDisplayUnit" << "nTransactionFee";