aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletview.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-08-07 18:14:13 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-08-26 16:28:00 +0300
commit92ddc02a16a74e10f24190929f05e2dcf2b55871 (patch)
tree2a6171113e58033633248c8c88aa1e1061a1aafb /src/qt/walletview.h
parentca0e680bdcaa816c53355777d788a4c8478bb117 (diff)
downloadbitcoin-92ddc02a16a74e10f24190929f05e2dcf2b55871.tar.xz
qt, refactor: Declare getWalletModel with const and noexcept qualifiers
Diffstat (limited to 'src/qt/walletview.h')
-rw-r--r--src/qt/walletview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletview.h b/src/qt/walletview.h
index 71c8368bfa..eebc163624 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);