aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-05-25 18:06:23 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-05-25 18:08:06 +0200
commitf6b7df3155ddb4cedfbcf5d3eb3383d4614b3a85 (patch)
tree3650807620c9f236f73fe68f75aecc68506ed892 /src/qt/walletmodel.cpp
parentd72098038f3b55a714ed8adb34fab547b15eb0d5 (diff)
parent380498aba4f6aebe53a8241f163e3c7fe424b7e0 (diff)
downloadbitcoin-f6b7df3155ddb4cedfbcf5d3eb3383d4614b3a85.tar.xz
Merge #8061: [Wallet] Improve Wallet encapsulation
380498a Move BackupWallet to CWallet::BackupWallet (Patrick Strateman) ecb9741 Move GetAccountBalance from rpcwallet.cpp into CWallet::GetAccountBalance (Patrick Strateman)
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index a0d0e70442..3867310cd6 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -447,7 +447,7 @@ bool WalletModel::changePassphrase(const SecureString &oldPass, const SecureStri
bool WalletModel::backupWallet(const QString &filename)
{
- return BackupWallet(*wallet, filename.toLocal8Bit().data());
+ return wallet->BackupWallet(filename.toLocal8Bit().data());
}
// Handlers for core signals