diff --git a/src/plugins/projectexplorer/projectfilewizardextension.cpp b/src/plugins/projectexplorer/projectfilewizardextension.cpp index b897dd44ff91082fb7704fa870d1376bd7043398..3b969a10a9f7cd1d53d4a490463079f8bdb587be 100644 --- a/src/plugins/projectexplorer/projectfilewizardextension.cpp +++ b/src/plugins/projectexplorer/projectfilewizardextension.cpp @@ -152,7 +152,7 @@ QList<QWizardPage *> ProjectFileWizardExtension::extensionPages(const Core::IWiz const int count = m_context->projects.size(); for (int i = 0; i < count; i++) { ProjectNode *pn = m_context->projects.at(i); - projectNames.push_back(pn->name()); + projectNames.push_back(QFileInfo(pn->path()).fileName()); if (current == pn) currentIndex = i; }