Trigger parse when project parts have been updated

Change-Id: I8b81bd91671b3d855c617c63185baa2951a55e6e
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-04-02 12:16:55 +02:00
parent 2182b2adbe
commit d43a36c816
3 changed files with 10 additions and 0 deletions

View File

@@ -538,6 +538,13 @@ void TestCodeParser::onQmlDocumentUpdated(const QmlJS::Document::Ptr &document)
}
}
void TestCodeParser::onProjectPartsUpdated(ProjectExplorer::Project *project)
{
if (project != currentProject())
return;
updateTestTree();
}
void TestCodeParser::removeFiles(const QStringList &files)
{
foreach (const QString &file, files)