summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppquickfixes.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-11-23 19:00:38 +0100
committerhjk <hjk@qt.io>2022-11-29 12:27:10 +0000
commit83720540a1370ef455cf129beb3c30fe565e0b68 (patch)
tree6efa64c52dc0c6cee8a733326a0f0bb00f7f8fb0 /src/plugins/cppeditor/cppquickfixes.cpp
parent9a32aae70678ad88a04174e0939be17326aaff11 (diff)
downloadqt-creator-83720540a1370ef455cf129beb3c30fe565e0b68.tar.gz
CppEditor: Convert parts of ModelManagerInterface to FilePath
Change-Id: If7503b6d6732e1735eb8d48ece6e80886d10c647 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppquickfixes.cpp')
-rw-r--r--src/plugins/cppeditor/cppquickfixes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppquickfixes.cpp b/src/plugins/cppeditor/cppquickfixes.cpp
index 97f0c9500a..91181b91f5 100644
--- a/src/plugins/cppeditor/cppquickfixes.cpp
+++ b/src/plugins/cppeditor/cppquickfixes.cpp
@@ -7629,8 +7629,7 @@ void ConvertQt4Connect::match(const CppQuickFixInterface &interface, QuickFixOpe
void ExtraRefactoringOperations::match(const CppQuickFixInterface &interface,
QuickFixOperations &result)
{
- const auto processor = CppModelManager::cppEditorDocumentProcessor(
- interface.filePath().toString());
+ const auto processor = CppModelManager::cppEditorDocumentProcessor(interface.filePath());
if (processor) {
const auto clangFixItOperations = processor->extraRefactoringOperations(interface);
result.append(clangFixItOperations);