From d319c4dae9ed7d59d71b926e677707fce4194d0c Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Fri, 3 Sep 2021 00:27:14 +0300 Subject: qt, refactor: Replace WalletFrame::addWallet with WalletFrame::addView MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No need to pass an instance of the WalletModel class to this method. Co-authored-by: João Barbosa --- src/qt/walletframe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qt/walletframe.h') diff --git a/src/qt/walletframe.h b/src/qt/walletframe.h index cbf6af95ec..cfca5c4c5c 100644 --- a/src/qt/walletframe.h +++ b/src/qt/walletframe.h @@ -35,7 +35,7 @@ public: void setClientModel(ClientModel *clientModel); - bool addWallet(WalletModel* walletModel, WalletView* walletView); + bool addView(WalletView* walletView); void setCurrentWallet(WalletModel* wallet_model); void removeWallet(WalletModel* wallet_model); void removeAllWallets(); -- cgit v1.2.3