From 355e8d133c323343666fb6b55f590e1e2520ef34 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 24 Jul 2023 14:22:37 +0200 Subject: Fix some warnings about unused things Change-Id: I42bb514dfe1d6745b1469b508a4cfa576e17c31b Reviewed-by: hjk Reviewed-by: Qt CI Bot --- src/plugins/texteditor/syntaxhighlighter.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/texteditor/syntaxhighlighter.cpp') diff --git a/src/plugins/texteditor/syntaxhighlighter.cpp b/src/plugins/texteditor/syntaxhighlighter.cpp index d8b39a5c2c2..24a96522b38 100644 --- a/src/plugins/texteditor/syntaxhighlighter.cpp +++ b/src/plugins/texteditor/syntaxhighlighter.cpp @@ -512,7 +512,6 @@ void SyntaxHighlighter::formatSpaces(const QString &text, int start, int count) void SyntaxHighlighter::setFormatWithSpaces(const QString &text, int start, int count, const QTextCharFormat &format) { - Q_D(const SyntaxHighlighter); const QTextCharFormat visualSpaceFormat = whitespacified(format); const int end = std::min(start + count, int(text.length())); -- cgit v1.2.3