qt, refactor: Declare getWalletModel with const and noexcept qualifiers
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -42,7 +42,7 @@ public:
|
|||||||
The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic.
|
The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic.
|
||||||
*/
|
*/
|
||||||
void setClientModel(ClientModel *clientModel);
|
void setClientModel(ClientModel *clientModel);
|
||||||
WalletModel *getWalletModel() { return walletModel; }
|
WalletModel* getWalletModel() const noexcept { return walletModel; }
|
||||||
|
|
||||||
bool handlePaymentRequest(const SendCoinsRecipient& recipient);
|
bool handlePaymentRequest(const SendCoinsRecipient& recipient);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user