diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-11-16 17:24:51 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-11-17 10:01:34 +0000 |
commit | 5d6fc1fc3bec1bac6cdbd4aec65bd63658d4ac0a (patch) | |
tree | 3ddeb87c0d24f267f0981ea9b93533f410791b7e /src/plugins/texteditor/refactoringchanges.h | |
parent | 1c8ac2e7d35002d84de9871d8c7130d145cb42f4 (diff) |
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>
Diffstat (limited to 'src/plugins/texteditor/refactoringchanges.h')
-rw-r--r-- | src/plugins/texteditor/refactoringchanges.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/texteditor/refactoringchanges.h b/src/plugins/texteditor/refactoringchanges.h index a147ba0082..95e250e9e0 100644 --- a/src/plugins/texteditor/refactoringchanges.h +++ b/src/plugins/texteditor/refactoringchanges.h @@ -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; |