Commit 10f94d67 authored by dt's avatar dt
Browse files

Hitting build would still crash for a qml project

parent c9f13c0f
......@@ -1423,8 +1423,13 @@ void ProjectExplorerPlugin::buildProjectOnly()
static QStringList configurations(const QList<Project *> &projects)
{
QStringList result;
foreach (const Project * pro, projects)
result << pro->activeBuildConfiguration()->name();
foreach (const Project * pro, projects) {
if (BuildConfiguration *bc = pro->activeBuildConfiguration()) {
result << bc->name();
} else {
result << QString::null;
}
}
return result;
}
......
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