AutoTools: Disconnect Qt5-style

Fix up a disconnect that was missed in
0df6780176 to match with
the connect. This potentially fixes a spurious signal
being received.

Change-Id: I3bdf65eca41948ac11a34da8f554645c782bcdfb
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-07-09 13:30:40 +02:00
parent 3c84660ac4
commit 0e0f1babdb

View File

@@ -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;