qt, refactor: Declare getWalletModel with const and noexcept qualifiers

This commit is contained in:
Hennadii Stepanov committed 2021-08-26 16:28:00 +03:00
1 parent ca0e680bdc
commit 92ddc02a16
1 file changed
+1 -1
+1 -1
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);