diff options
author | hjk <hjk@qt.io> | 2019-07-03 18:34:30 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-07-04 12:28:38 +0000 |
commit | 6a58666f4403cdde1809784c1cc98668a4b02cfc (patch) | |
tree | af2ab09f192f779947a71022a91fb090bbfd5353 /src/plugins/cpptools/cppfindreferences.cpp | |
parent | 599b03179e392b97023c6ebca98faa514967841a (diff) | |
download | qt-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/cpptools/cppfindreferences.cpp')
-rw-r--r-- | src/plugins/cpptools/cppfindreferences.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp index e277edeb4f..f5c4405acd 100644 --- a/src/plugins/cpptools/cppfindreferences.cpp +++ b/src/plugins/cpptools/cppfindreferences.cpp @@ -402,7 +402,7 @@ void CppFindReferences::onReplaceButtonClicked(const QString &text, { const QStringList fileNames = TextEditor::BaseFileFind::replaceAll(text, items, preserveCase); if (!fileNames.isEmpty()) { - m_modelManager->updateSourceFiles(fileNames.toSet()); + m_modelManager->updateSourceFiles(Utils::toSet(fileNames)); SearchResultWindow::instance()->hide(); } |