diff options
author | Daniel Teske <daniel.teske@digia.com> | 2014-01-23 17:01:43 +0100 |
---|---|---|
committer | Daniel Teske <daniel.teske@digia.com> | 2014-01-29 15:52:42 +0100 |
commit | d2a34683a01331110909dac710f3151704f94526 (patch) | |
tree | 624d6ddd1faff1f616db77fa99a8d35ff4881cf2 /src/plugins/qmakeprojectmanager | |
parent | bbcd3046e5e73b29836819d5ec6e2dd833314bfe (diff) | |
download | qt-creator-d2a34683a01331110909dac710f3151704f94526.tar.gz |
QmakeProject: remove duplicates in ::files()
Task-number: QTCREATORBUG-11292
Change-Id: I48a535303d916cdae22ea2a0cb62ef347b4ccf88
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/qmakeprojectmanager')
-rw-r--r-- | src/plugins/qmakeprojectmanager/qmakeproject.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qmakeprojectmanager/qmakeproject.cpp b/src/plugins/qmakeprojectmanager/qmakeproject.cpp index 58b270d69c..6358d335ba 100644 --- a/src/plugins/qmakeprojectmanager/qmakeproject.cpp +++ b/src/plugins/qmakeprojectmanager/qmakeproject.cpp @@ -904,6 +904,9 @@ QStringList QmakeProject::files(FilesMode fileMode) const if (fileMode == AllFiles) files += m_projectFiles->generatedFiles[i]; } + + files.removeDuplicates(); + return files; } |