diff options
author | hjk <hjk@qt.io> | 2022-11-23 19:00:38 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-11-29 12:27:10 +0000 |
commit | 83720540a1370ef455cf129beb3c30fe565e0b68 (patch) | |
tree | 6efa64c52dc0c6cee8a733326a0f0bb00f7f8fb0 /src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp | |
parent | 9a32aae70678ad88a04174e0939be17326aaff11 (diff) |
CppEditor: Convert parts of ModelManagerInterface to FilePath
Change-Id: If7503b6d6732e1735eb8d48ece6e80886d10c647
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp index c15995504e..c4f325abdc 100644 --- a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp +++ b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp @@ -302,8 +302,7 @@ F2TestCase::F2TestCase(CppEditorAction action, // The file is "Full Checked" since it is in the working copy now, // that is the function bodies are processed. forever { - const Document::Ptr document = - waitForFileInGlobalSnapshot(testFile->filePath().toString()); + const Document::Ptr document = waitForFileInGlobalSnapshot(testFile->filePath()); QVERIFY(document); if (document->checkMode() == Document::FullCheck) { if (!document->diagnosticMessages().isEmpty()) |