From ab73d5985de5d9c4d1e3fd0f4d9d88a0908ea319 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Thu, 21 Apr 2022 00:39:46 +0200 Subject: Do not pass `WalletModel*` to queued connection Passing a `WalletModel*` object to a queued connection when the `ENABLE_WALLET` macro is undefined make code flawed. --- src/qt/rpcconsole.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/qt/rpcconsole.h') diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 94bc513c5b..1a54fe0cad 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -137,10 +137,6 @@ public Q_SLOTS: /** set which tab has the focus (is visible) */ void setTabFocus(enum TabTypes tabType); -Q_SIGNALS: - // For RPC command executor - void cmdRequest(const QString &command, const WalletModel* wallet_model); - private: struct TranslatedStrings { const QString yes{tr("Yes")}, no{tr("No")}, to{tr("To")}, from{tr("From")}, -- cgit v1.2.3