forked from qt-creator/qt-creator
TextEditor: Remove RefactoringFile::m_data
There is no use for a generic data member. Change-Id: Iabfbc0587db2cffcc1c19baed832aa866f696ffe Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -68,8 +68,7 @@ protected:
|
||||
RefactoringFile(QTextDocument *document, const Utils::FilePath &filePath);
|
||||
|
||||
RefactoringFile(TextEditorWidget *editor);
|
||||
RefactoringFile(const Utils::FilePath &filePath,
|
||||
const QSharedPointer<RefactoringChangesData> &data);
|
||||
RefactoringFile(const Utils::FilePath &filePath);
|
||||
|
||||
QTextDocument *mutableDocument() const;
|
||||
|
||||
@@ -88,7 +87,6 @@ protected:
|
||||
const TextDocument *textDocument) const;
|
||||
|
||||
Utils::FilePath m_filePath;
|
||||
QSharedPointer<RefactoringChangesData> m_data;
|
||||
mutable Utils::TextFileFormat m_textFileFormat;
|
||||
mutable QTextDocument *m_document = nullptr;
|
||||
TextEditorWidget *m_editor = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user