From d87b4668dc44c6a30b753e69328e71c5a2f57e31 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 4 Aug 2015 09:01:33 +0200 Subject: [PATCH] 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 --- plugins/autotest/testcodeparser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/autotest/testcodeparser.cpp b/plugins/autotest/testcodeparser.cpp index d0779f67305..b64c7f6e7d7 100644 --- a/plugins/autotest/testcodeparser.cpp +++ b/plugins/autotest/testcodeparser.cpp @@ -117,6 +117,8 @@ void TestCodeParser::updateTestTree() m_singleShotScheduled = false; if (m_codeModelParsing) { m_fullUpdatePostponed = true; + m_partialUpdatePostponed = false; + m_postponedFiles.clear(); return; }