mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:49:01 +03:00
Use Qt5 connect syntax
This commit is contained in:
parent
55e038b165
commit
18651c8d01
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue