Qbs: Avoid useless reparsing when possible

Do not trigger a reparsing when e.g. changing environment variables
that qbs does not access.

Change-Id: Ieda4f68112d372c561d99c8dffe016af0d31ad41
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-06-11 18:10:42 +02:00
parent 57f1251922
commit dce41176d8
4 changed files with 46 additions and 9 deletions

View File

@@ -96,7 +96,7 @@ bool QbsProjectFile::reload(QString *errorString, ReloadFlag flag, ChangeType ty
Q_UNUSED(flag)
if (type == TypePermissions)
return true;
m_project->delayParsing();
m_project->delayForcedParsing();
return true;
}