forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user