diff options
author | Montel Laurent <laurent.montel@kdab.com> | 2015-01-30 11:02:24 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-01-30 10:40:25 +0000 |
commit | 063251ebbc6d896bc19fc54fe8626ae05412aae3 (patch) | |
tree | 7107c6194a184a444eb2b49984077fa2026fe7db /src/plugins/cpptools/stringtable.cpp | |
parent | f1ac9cd56dcde0b8b2d533402557f792566ad703 (diff) | |
download | qt-creator-063251ebbc6d896bc19fc54fe8626ae05412aae3.tar.gz |
Port to new connect api
Change-Id: I873a36601d54065b61d0666558b93dc839ad0dfc
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/stringtable.cpp')
-rw-r--r-- | src/plugins/cpptools/stringtable.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cpptools/stringtable.cpp b/src/plugins/cpptools/stringtable.cpp index b6393d5520..11f8d665f6 100644 --- a/src/plugins/cpptools/stringtable.cpp +++ b/src/plugins/cpptools/stringtable.cpp @@ -53,8 +53,7 @@ StringTable::StringTable() m_gcCountDown.setObjectName(QLatin1String("StringTable::m_gcCountDown")); m_gcCountDown.setSingleShot(true); m_gcCountDown.setInterval(GCTimeOut); - connect(&m_gcCountDown, SIGNAL(timeout()), - this, SLOT(startGC())); + connect(&m_gcCountDown, &QTimer::timeout, this, &StringTable::startGC); } QString StringTable::insert(const QString &string) |