Commit bcf05c02 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix possible core dump

... when creating a new project without any Qt version being
available
parent 599f459e
......@@ -156,7 +156,7 @@ void ProjectLoadWizard::done(int result)
m_project->addTarget(t);
}
if (m_project->targets().isEmpty())
qWarning() << "Failed to populate project with default targets for default Qt" << m_importVersion->displayName();
qWarning() << "Failed to populate project with default targets for default Qt" << defaultVersion->displayName();
}
}
......
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