Commit daa4fd83 authored by dt's avatar dt
Browse files

Crash if a runconfiguration with a removed pro file gets loaded.

parent 87a253b3
......@@ -332,6 +332,13 @@ void Qt4RunConfiguration::updateTarget()
Qt4Project *pro = static_cast<Qt4Project *>(project());
Qt4PriFileNode * priFileNode = static_cast<Qt4Project *>(project())->rootProjectNode()->findProFileFor(m_proFilePath);
if (!priFileNode) {
m_workingDir = QString::null;
m_executable = QString::null;
m_cachedTargetInformationValid = true;
emit effectiveTargetInformationChanged();
ProFileReader *reader = priFileNode->createProFileReader();
Supports Markdown
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