CppEditor: More migration to FilePath

Change-Id: I261b713671e00bb567f61b4ee5ecf6fa83473bff
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2022-11-24 15:21:15 +01:00
parent 9bac0d7f4c
commit 4159c4b5d5
32 changed files with 147 additions and 123 deletions

View File

@@ -74,7 +74,7 @@ CppRefactoringFile::CppRefactoringFile(const FilePath &filePath, const QSharedPo
: RefactoringFile(filePath, data)
{
const Snapshot &snapshot = this->data()->m_snapshot;
m_cppDocument = snapshot.document(filePath.toString());
m_cppDocument = snapshot.document(filePath);
}
CppRefactoringFile::CppRefactoringFile(QTextDocument *document, const FilePath &filePath)