0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

qt, refactor: Declare getWalletModel with const and noexcept qualifiers

This commit is contained in:
Hennadii Stepanov 2021-08-07 18:14:13 +03:00
parent ca0e680bdc
commit 92ddc02a16
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -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);