forked from qt-creator/qt-creator
Fix some warnings about unused things
Change-Id: I42bb514dfe1d6745b1469b508a4cfa576e17c31b Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user