summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/pythoneditor/pythoneditorplugin.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp
index f728f6bbc6..fe0c0b0430 100644
--- a/src/plugins/pythoneditor/pythoneditorplugin.cpp
+++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp
@@ -362,14 +362,6 @@ bool PythonProject::addFiles(const QStringList &filePaths)
foreach (const QString &filePath, filePaths)
newList.append(baseDir.relativeFilePath(filePath));
- QSet<QString> toAdd;
-
- foreach (const QString &filePath, filePaths) {
- QString directory = QFileInfo(filePath).absolutePath();
- if (!toAdd.contains(directory))
- toAdd << directory;
- }
-
bool result = saveRawList(newList, projectFilePath().toString());
refresh();