TextEditor: Remove unneeded RefactoringFile::setFilePath()

Change-Id: Ia44642191259b83539c093d04921317b6155fdee
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Christian Kandeler
2023-11-17 13:40:59 +01:00
parent 27084b1884
commit db71c461de
2 changed files with 0 additions and 3 deletions

View File

@@ -68,8 +68,6 @@ QmlJSRefactoringFile::QmlJSRefactoringFile(TextEditor::TextEditorWidget *editor,
: RefactoringFile(editor)
, m_qmljsDocument(document)
{
if (document)
setFilePath(document->fileName()); // TODO: Is this really a different file path than in the editor?
}
Document::Ptr QmlJSRefactoringFile::qmljsDocument() const