From aa89dfa4b792bbfececb557113a71b452ece8e6a Mon Sep 17 00:00:00 2001 From: con <qtc-committer@nokia.com> Date: Mon, 23 Feb 2009 14:30:19 +0100 Subject: [PATCH] Fixes: - Show extension of projects to add files to Details: - Helps distinguishing adding to pro or pri file with same name --- src/plugins/projectexplorer/projectfilewizardextension.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/projectfilewizardextension.cpp b/src/plugins/projectexplorer/projectfilewizardextension.cpp index b897dd44ff9..3b969a10a9f 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; } -- GitLab