Commit 0e0f1bab authored by Tobias Hunger's avatar Tobias Hunger
Browse files

AutoTools: Disconnect Qt5-style

Fix up a disconnect that was missed in
0df67801

 to match with
the connect. This potentially fixes a spurious signal
being received.

Change-Id: I3bdf65eca41948ac11a34da8f554645c782bcdfb
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent 3c84660a
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment