forked from qt-creator/qt-creator
Port to new connect api
Change-Id: I603fc2e3fda624c913e432d5059c86d96c3e2c3b Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -170,7 +170,7 @@ void TodoItemsProvider::setupUpdateListTimer()
|
||||
{
|
||||
m_shouldUpdateList = false;
|
||||
QTimer *timer = new QTimer(this);
|
||||
connect(timer, SIGNAL(timeout()), SLOT(updateListTimeoutElapsed()));
|
||||
connect(timer, &QTimer::timeout, this, &TodoItemsProvider::updateListTimeoutElapsed);
|
||||
timer->start(Constants::OUTPUT_PANE_UPDATE_INTERVAL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user