aboutsummaryrefslogtreecommitdiff
path: root/src/qt/trafficgraphwidget.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/trafficgraphwidget.cpp
parent8aa9badf5ea3ea98980f50d924e88e46c4d5ee38 (diff)
qt: Use new Qt5 connect syntax
Diffstat (limited to 'src/qt/trafficgraphwidget.cpp')
-rw-r--r--src/qt/trafficgraphwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/trafficgraphwidget.cpp b/src/qt/trafficgraphwidget.cpp
index 35569149fc..f087e7569c 100644
--- a/src/qt/trafficgraphwidget.cpp
+++ b/src/qt/trafficgraphwidget.cpp
@@ -29,7 +29,7 @@ TrafficGraphWidget::TrafficGraphWidget(QWidget *parent) :
clientModel(0)
{
timer = new QTimer(this);
- connect(timer, SIGNAL(timeout()), SLOT(updateRates()));
+ connect(timer, &QTimer::timeout, this, &TrafficGraphWidget::updateRates);
}
void TrafficGraphWidget::setClientModel(ClientModel *model)