BaseAnnotationHighlighter: Get rid of QTextDocument arg from c'tor

It's always nullptr.

Change-Id: Ia392b826f0afe8562b90b916722c374c5244d9aa
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Jarek Kobus
2023-11-16 11:58:48 +01:00
parent 10c37c1439
commit 221d4ad563
17 changed files with 26 additions and 43 deletions

View File

@@ -6,9 +6,8 @@
namespace Bazaar::Internal {
BazaarAnnotationHighlighter::BazaarAnnotationHighlighter(const VcsBase::Annotation &annotation,
QTextDocument *document)
: VcsBase::BaseAnnotationHighlighter(annotation, document)
BazaarAnnotationHighlighter::BazaarAnnotationHighlighter(const VcsBase::Annotation &annotation)
: VcsBase::BaseAnnotationHighlighter(annotation)
, m_changeset(QLatin1String(Constants::ANNOTATE_CHANGESET_ID))
{}