diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-04-17 14:28:39 +0300 |
---|---|---|
committer | Jarol Rodriguez <jarolrod@tutanota.com> | 2021-04-22 22:30:05 -0400 |
commit | d2cc3390054616c73f72a59f864700f6de14067b (patch) | |
tree | 4c11eefc3ee7a8f58dc952169b2f89de591cc1ff /src/qt/rpcconsole.h | |
parent | 4f0ae472e22990ad9e734faea4adacef8df449bb (diff) | |
download | bitcoin-d2cc3390054616c73f72a59f864700f6de14067b.tar.xz |
qt, refactor: Drop redundant history cleaning in RPC console
The default clearHistory=true argument is passed in the RPCConsole ctor
only. This is needless, as the history and historyPtr members are
initialized properly.
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r-- | src/qt/rpcconsole.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index b9806e40c9..b686154818 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -99,7 +99,7 @@ private Q_SLOTS: void updateDetailWidget(); public Q_SLOTS: - void clear(bool clearHistory = true); + void clear(); void fontBigger(); void fontSmaller(); void setFontSize(int newSize); |