summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorplugin.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-07-03 18:34:30 +0200
committerhjk <hjk@qt.io>2019-07-04 12:28:38 +0000
commit6a58666f4403cdde1809784c1cc98668a4b02cfc (patch)
treeaf2ab09f192f779947a71022a91fb090bbfd5353 /src/plugins/pythoneditor/pythoneditorplugin.cpp
parent599b03179e392b97023c6ebca98faa514967841a (diff)
downloadqt-creator-6a58666f4403cdde1809784c1cc98668a4b02cfc.tar.gz
More Utils::toSet/toList
... and unrelated cosmetic changes. Change-Id: I591b17fd5289831e701b683f8fb47816efd1fa67 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditorplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp
index d07c68cd9a..6752713897 100644
--- a/src/plugins/pythoneditor/pythoneditorplugin.cpp
+++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp
@@ -392,7 +392,7 @@ static QStringList readLinesJson(const Utils::FilePath &projectFile,
for (const auto &file : files_array)
visited.insert(file.toString());
- lines.append(visited.toList());
+ lines.append(Utils::toList(visited));
}
return lines;