Commit 5126f01f authored by Tobias Hunger's avatar Tobias Hunger

Qbs: Do not throw away old project data if parsing failed

Change-Id: Icc54abcfcee1f8deea5247d46d8d13b75741feda
Reviewed-by: default avatarTobias Hunger <>
parent 8c02d6e0
......@@ -290,6 +290,9 @@ void QbsProject::handleQbsParsingDone(bool success)
delete m_qbsUpdateFutureInterface;
m_qbsUpdateFutureInterface = 0;
if (!project.isValid())
updateDocuments(project.isValid() ? project.buildSystemFiles() : QSet<QString>() << m_fileName);
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