diff options
author | con <qtc-committer@nokia.com> | 2009-02-23 14:30:19 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-02-23 15:10:42 +0100 |
commit | aa89dfa4b792bbfececb557113a71b452ece8e6a (patch) | |
tree | 6c83fdd2b7c4103eb19ba849ebdb9d8d37b74769 | |
parent | 350a7167c247c4c36bc417fd95ff36fa8ac485c4 (diff) | |
download | qt-creator-aa89dfa4b792bbfececb557113a71b452ece8e6a.tar.gz |
Fixes: - Show extension of projects to add files to
Details: - Helps distinguishing adding to pro or pri file with same
name
-rw-r--r-- | src/plugins/projectexplorer/projectfilewizardextension.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectfilewizardextension.cpp b/src/plugins/projectexplorer/projectfilewizardextension.cpp index b897dd44ff..3b969a10a9 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; } |