From 0e0f1babdb1db8b17131dee0a1ba280074a675a5 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 9 Jul 2015 13:30:40 +0200 Subject: [PATCH] AutoTools: Disconnect Qt5-style Fix up a disconnect that was missed in 0df67801765927ad3dbe0715fa46b4cdc09c6ce2 to match with the connect. This potentially fixes a spurious signal being received. Change-Id: I3bdf65eca41948ac11a34da8f554645c782bcdfb Reviewed-by: hjk Reviewed-by: Daniel Teske --- src/plugins/autotoolsprojectmanager/autotoolsproject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp index 64053b4a5bc..25d454ca763 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp +++ b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp @@ -164,8 +164,8 @@ void AutotoolsProject::loadProjectTree() // The thread is still busy parsing a previus configuration. // Wait until the thread has been finished and delete it. // TODO: Discuss whether blocking is acceptable. - disconnect(m_makefileParserThread, SIGNAL(finished()), - this, SLOT(makefileParsingFinished())); + disconnect(m_makefileParserThread, &QThread::finished, + this, &AutotoolsProject::makefileParsingFinished); m_makefileParserThread->wait(); delete m_makefileParserThread; m_makefileParserThread = 0;