Fix postponing when code model is parsed

If postponing a full parse unset an already postponed partial parse
otherwise we could run into the Q_ASSERT statement inside
onPartialParsingFinished().

Change-Id: Iee197f1e16496ea87975d5ead0e43953353ab9a7
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-08-04 09:01:33 +02:00
parent 565712d84b
commit d87b4668dc

View File

@@ -117,6 +117,8 @@ void TestCodeParser::updateTestTree()
m_singleShotScheduled = false;
if (m_codeModelParsing) {
m_fullUpdatePostponed = true;
m_partialUpdatePostponed = false;
m_postponedFiles.clear();
return;
}