aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2015-06-26 10:23:51 +0200
committerJonas Schnelli <[email protected]>2015-09-16 16:50:19 +0200
commitcdd72cd5fbc2b287559f7230d1616339e9ff2d6d (patch)
treefec12703dc0654e2d1b43768cdde14ac112c689a /src/qt/clientmodel.cpp
parent[Qt] remove unused timer-code from banlistmodel.cpp (diff)
downloaddiscoin-cdd72cd5fbc2b287559f7230d1616339e9ff2d6d.tar.xz
discoin-cdd72cd5fbc2b287559f7230d1616339e9ff2d6d.zip
[Qt] simplify ban list signal handling
- remove banListChanged signal from client model - directly call clientModel->getBanTableModel()->refresh() without the way over clientModel->updateBanlist() - also fix clearing peer detail window, when selecting (clicking) peers in the ban list
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index 851e9f186..0900a35cc 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -217,7 +217,6 @@ QString ClientModel::formatClientStartupTime() const
void ClientModel::updateBanlist()
{
banTableModel->refresh();
- emit banListChanged();
}
// Handlers for core signals