summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppsourceprocessor_test.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/cppsourceprocessor_test.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/cppsourceprocessor_test.cpp')
-rw-r--r--src/plugins/cppeditor/cppsourceprocessor_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppsourceprocessor_test.cpp b/src/plugins/cppeditor/cppsourceprocessor_test.cpp
index 58e0fdf630..06b1748d8f 100644
--- a/src/plugins/cppeditor/cppsourceprocessor_test.cpp
+++ b/src/plugins/cppeditor/cppsourceprocessor_test.cpp
@@ -110,8 +110,8 @@ void SourceProcessorTest::testIncludesCyclic()
testCase.closeEditorAtEndOfTestCase(editor);
// Check editor snapshot
- const QString filePath = editor->document()->filePath().toString();
- auto *processor = CppModelManager::cppEditorDocumentProcessor(filePath);
+ const FilePath filePath = editor->document()->filePath();
+ auto processor = CppModelManager::cppEditorDocumentProcessor(filePath);
QVERIFY(processor);
QVERIFY(TestCase::waitForProcessedEditorDocument(filePath));
Snapshot snapshot = processor->snapshot();