mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
Remove most direct bitcoin calls from qt/walletmodel.cpp
This commit is contained in:
committed by
John Newbery
parent
90d4640b7e
commit
a0704a8996
@@ -258,7 +258,7 @@ void WalletView::backupWallet()
|
||||
if (filename.isEmpty())
|
||||
return;
|
||||
|
||||
if (!walletModel->backupWallet(filename)) {
|
||||
if (!walletModel->wallet().backupWallet(filename.toLocal8Bit().data())) {
|
||||
Q_EMIT message(tr("Backup Failed"), tr("There was an error trying to save the wallet data to %1.").arg(filename),
|
||||
CClientUIInterface::MSG_ERROR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user