forked from qt-creator/qt-creator
CppEditor: Use FilePath for ProjectPath::m_sourceFiles
... and update using code. Change-Id: I682727a4b2982dba388e7cc7b9488225748d591f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -457,8 +457,7 @@ void CppFindReferences::onReplaceButtonClicked(Core::SearchResult *search,
|
||||
{
|
||||
const Utils::FilePaths filePaths = TextEditor::BaseFileFind::replaceAll(text, items, preserveCase);
|
||||
if (!filePaths.isEmpty()) {
|
||||
m_modelManager->updateSourceFiles(
|
||||
Utils::transform<QSet>(filePaths, &Utils::FilePath::toString));
|
||||
m_modelManager->updateSourceFiles(Utils::toSet(filePaths));
|
||||
SearchResultWindow::instance()->hide();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user