Commit b151e94d authored by Christian Kandeler's avatar Christian Kandeler
Browse files

QbsProjectManager: Fix soft asserts

Change-Id: I4efef985bc8bd2652a5ea4d6b54a5d4ee8d4941f
Reviewed-by: default avatarNikolai Kosjar <>
parent 5a5a464d
......@@ -170,7 +170,9 @@ QSet<QString> referencedBuildSystemFiles(const qbs::ProjectData &data)
QStringList unreferencedBuildSystemFiles(const qbs::Project &p)
return p.buildSystemFiles().subtract(referencedBuildSystemFiles(p.projectData())).toList();
return p.isValid()
? p.buildSystemFiles().subtract(referencedBuildSystemFiles(p.projectData())).toList()
: QStringList();
} // namespace
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