diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-07-29 14:34:14 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-09-16 16:50:20 +0200 |
commit | 7f90ea78cb68c60408df85d5c653257dbc9160fe (patch) | |
tree | 98afbb661db8de879314d7c46faeea57cb559942 /src/qt/rpcconsole.cpp | |
parent | 07f70b2dde26ef2b8857642043b149ff23f59a5c (diff) |
[QA] adabt QT_NO_KEYWORDS for QT ban implementation
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r-- | src/qt/rpcconsole.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 4dc976028f..b3c28eab82 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -27,6 +27,7 @@ #include <QKeyEvent> #include <QMenu> #include <QScrollBar> +#include <QSignalMapper> #include <QThread> #include <QTime> #include <QTimer> @@ -242,7 +243,7 @@ RPCConsole::RPCConsole(const PlatformStyle *platformStyle, QWidget *parent) : clientModel(0), historyPtr(0), cachedNodeid(-1), - platformStyle(platformStyle) + platformStyle(platformStyle), peersTableContextMenu(0), banTableContextMenu(0) { @@ -807,7 +808,6 @@ void RPCConsole::banSelectedNode(int bantime) SplitHostPort(nStr, port, addr); CNode::Ban(CNetAddr(addr), BanReasonManuallyAdded, bantime); - DumpBanlist(); // store banlist to disk bannedNode->fDisconnect = true; clearSelectedNode(); @@ -827,7 +827,6 @@ void RPCConsole::unbanSelectedNode() if (possibleSubnet.IsValid()) { CNode::Unban(possibleSubnet); - DumpBanlist(); // store banlist to disk clientModel->getBanTableModel()->refresh(); } } |