Skip to content

Commit 92ddc02

Browse files
committed
qt, refactor: Declare getWalletModel with const and noexcept qualifiers
1 parent ca0e680 commit 92ddc02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/walletview.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class WalletView : public QStackedWidget
4242
The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic.
4343
*/
4444
void setClientModel(ClientModel *clientModel);
45-
WalletModel *getWalletModel() { return walletModel; }
45+
WalletModel* getWalletModel() const noexcept { return walletModel; }
4646

4747
bool handlePaymentRequest(const SendCoinsRecipient& recipient);
4848

0 commit comments

Comments
 (0)