Commit 7d2e5d54 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qbs: Send parsing done even if the parsing actually failed

Task-number: QTCREATORBUG-11876

Change-Id: I9c52df7d0ebcb7f779e22061e5cf7923c09dab14
Reviewed-by: default avatarTobias Hunger <>
parent 00c0fcf3
......@@ -297,9 +297,8 @@ void QbsProject::handleQbsParsingDone(bool success)
delete m_qbsUpdateFutureInterface;
m_qbsUpdateFutureInterface = 0;
if (!project.isValid())
if (project.isValid()) {
// Do not throw away data when parsing errors were introduced. That frightens users:-)
updateDocuments(project.isValid() ? project.buildSystemFiles() : QSet<QString>() << m_fileName);
......@@ -313,6 +312,7 @@ void QbsProject::handleQbsParsingDone(bool success)
emit fileListChanged();
emit projectParsingDone(success);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment