aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-06-24 16:18:22 +0100
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-08-21 09:43:54 +0100
commitf78558f1e39198779bdb17e2b0e256fb99ad4b28 (patch)
treee70cf07bb8f64df2f4b65a4999b8bafa435d9d51 /src/qt/clientmodel.cpp
parent8aa9badf5ea3ea98980f50d924e88e46c4d5ee38 (diff)
qt: Use new Qt5 connect syntax
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index 7154ac14be..b2cf4b6399 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -44,7 +44,7 @@ ClientModel::ClientModel(interfaces::Node& node, OptionsModel *_optionsModel, QO
peerTableModel = new PeerTableModel(m_node, this);
banTableModel = new BanTableModel(m_node, this);
pollTimer = new QTimer(this);
- connect(pollTimer, SIGNAL(timeout()), this, SLOT(updateTimer()));
+ connect(pollTimer, &QTimer::timeout, this, &ClientModel::updateTimer);
pollTimer->start(MODEL_UPDATE_DELAY);
subscribeToCoreSignals();