forked from qt-creator/qt-creator
Fix possible core dump
... when creating a new project without any Qt version being available
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user