mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-28 21:19:56 +00:00
refactor: use new-style qt connections
This commit is contained in:
@ -33,7 +33,7 @@ QCronScheduler::QCronScheduler(QObject *_parent)
|
||||
m_timer->setSingleShot(false);
|
||||
m_timer->setInterval(60 * 1000);
|
||||
|
||||
connect(m_timer, SIGNAL(timeout()), this, SLOT(expired()));
|
||||
connect(m_timer, &QTimer::timeout, this, &QCronScheduler::expired);
|
||||
|
||||
m_timer->start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user