summaryrefslogtreecommitdiff
path: root/src/plugins/qmakeprojectmanager
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-01-23 17:01:43 +0100
committerDaniel Teske <daniel.teske@digia.com>2014-01-29 15:52:42 +0100
commitd2a34683a01331110909dac710f3151704f94526 (patch)
tree624d6ddd1faff1f616db77fa99a8d35ff4881cf2 /src/plugins/qmakeprojectmanager
parentbbcd3046e5e73b29836819d5ec6e2dd833314bfe (diff)
downloadqt-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.cpp3
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;
}