From 18651c8d0109b7f9ad2fbc9a2861c20a9c838d53 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 4 Jul 2017 17:16:29 +0800 Subject: [PATCH] Use Qt5 connect syntax --- src/webui/abstractwebapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/abstractwebapplication.cpp b/src/webui/abstractwebapplication.cpp index 6c06a83e8..a15993b57 100644 --- a/src/webui/abstractwebapplication.cpp +++ b/src/webui/abstractwebapplication.cpp @@ -89,7 +89,7 @@ AbstractWebApplication::AbstractWebApplication(QObject *parent) , session_(0) { QTimer *timer = new QTimer(this); - connect(timer, SIGNAL(timeout()), SLOT(removeInactiveSessions())); + connect(timer, &QTimer::timeout, this, &AbstractWebApplication::removeInactiveSessions); timer->start(60 * 1000); // 1 min. }