diff --git a/src/plugins/languageclient/languageclientsymbolsupport.cpp b/src/plugins/languageclient/languageclientsymbolsupport.cpp index 89cc9f44e2b..546ad068e4b 100644 --- a/src/plugins/languageclient/languageclientsymbolsupport.cpp +++ b/src/plugins/languageclient/languageclientsymbolsupport.cpp @@ -577,7 +577,7 @@ void SymbolSupport::applyRename(const Utils::SearchResultItems &checkedItems, QSet affectedNonOpenFilePaths; QMap> editsForDocuments; for (const Utils::SearchResultItem &item : checkedItems) { - const auto filePath = Utils::FilePath::fromString(item.path().value(0)); + const auto filePath = Utils::FilePath::fromUserInput(item.path().value(0)); if (!m_client->documentForFilePath(filePath)) affectedNonOpenFilePaths << filePath; TextEdit edit(item.userData().toJsonObject());