summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppcompletion_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/cppcompletion_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/cppcompletion_test.cpp')
-rw-r--r--src/plugins/cppeditor/cppcompletion_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppcompletion_test.cpp b/src/plugins/cppeditor/cppcompletion_test.cpp
index 7fa42a4be9..beba34ac4d 100644
--- a/src/plugins/cppeditor/cppcompletion_test.cpp
+++ b/src/plugins/cppeditor/cppcompletion_test.cpp
@@ -68,7 +68,7 @@ public:
m_textDocument = m_editorWidget->document();
// Get Document
- const Document::Ptr document = waitForFileInGlobalSnapshot(filePath.toString());
+ const Document::Ptr document = waitForFileInGlobalSnapshot(filePath);
QVERIFY(document);
QVERIFY(document->diagnosticMessages().isEmpty());