Skip to content

Commit

Permalink
qt, refactor: Declare getWalletModel with const and noexcept qualifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Aug 26, 2021
1 parent ca0e680 commit 92ddc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/walletview.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class WalletView : public QStackedWidget
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);

Expand Down

0 comments on commit 92ddc02

Please sign in to comment.