summaryrefslogtreecommitdiff
path: root/src/plugins/todo/todoitemsprovider.cpp
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2015-01-29 10:42:16 +0100
committerhjk <hjk@theqtcompany.com>2015-01-29 13:00:02 +0000
commitc001e98da8c11a5aa3dfe3ee85701e788411aec4 (patch)
tree33e1fb487c7d55fe3ecc4337dd9f900fd0b647b3 /src/plugins/todo/todoitemsprovider.cpp
parentf567565d26c9607fc4a22c01175962c51bd5a32d (diff)
downloadqt-creator-c001e98da8c11a5aa3dfe3ee85701e788411aec4.tar.gz
Port to new connect api
Change-Id: I603fc2e3fda624c913e432d5059c86d96c3e2c3b Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/todo/todoitemsprovider.cpp')
-rw-r--r--src/plugins/todo/todoitemsprovider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/todo/todoitemsprovider.cpp b/src/plugins/todo/todoitemsprovider.cpp
index ed63c80e9b..0e76c9cd28 100644
--- a/src/plugins/todo/todoitemsprovider.cpp
+++ b/src/plugins/todo/todoitemsprovider.cpp
@@ -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);
}