forked from qt-creator/qt-creator
Project: Move signalling of parsing state into Project
Get rid of duplicated code to do such signaling in derived Project types. Change-Id: I26914a1d751d72ee65c15a7943e0e7f34978f042 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -119,6 +119,7 @@ Project::RestoreResult AutotoolsProject::fromMap(const QVariantMap &map, QString
|
||||
|
||||
void AutotoolsProject::loadProjectTree()
|
||||
{
|
||||
emitParsingStarted();
|
||||
if (m_makefileParserThread) {
|
||||
// The thread is still busy parsing a previus configuration.
|
||||
// Wait until the thread has been finished and delete it.
|
||||
@@ -218,7 +219,7 @@ void AutotoolsProject::makefileParsingFinished()
|
||||
m_makefileParserThread->deleteLater();
|
||||
m_makefileParserThread = nullptr;
|
||||
|
||||
emit parsingFinished();
|
||||
emitParsingFinished(true);
|
||||
}
|
||||
|
||||
void AutotoolsProject::onFileChanged(const QString &file)
|
||||
|
Reference in New Issue
Block a user