Allow user to select wallet file (-waller=walletfilename.dat)
[novacoin.git] / src / qt / optionsmodel.cpp
index 756fe61..68d09cb 100644 (file)
@@ -72,7 +72,7 @@ bool OptionsModel::Upgrade()
     settings.setValue("bImportFinished", true);
 
     // Move settings from old wallet.dat (if any):
-    CWalletDB walletdb("wallet.dat");
+    CWalletDB walletdb(strWalletFileName);
 
     QList<QString> intOptions;
     intOptions << "nDisplayUnit" << "nTransactionFee";