From 92ddc02a16a74e10f24190929f05e2dcf2b55871 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sat, 7 Aug 2021 18:14:13 +0300 Subject: [PATCH] qt, refactor: Declare getWalletModel with const and noexcept qualifiers --- src/qt/walletview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/walletview.h b/src/qt/walletview.h index 71c8368bfa2..eebc163624f 100644 --- a/src/qt/walletview.h +++ b/src/qt/walletview.h @@ -42,7 +42,7 @@ public: The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic. */ void setClientModel(ClientModel *clientModel); - WalletModel *getWalletModel() { return walletModel; } + WalletModel* getWalletModel() const noexcept { return walletModel; } bool handlePaymentRequest(const SendCoinsRecipient& recipient);