forked from qt-creator/qt-creator
Don't access static functions/fields via instance
Courtesy of readability-static-accessed-through-instance Change-Id: I71f54244f1e091315dac2943d9e1bfad6efa56a9 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -123,7 +123,7 @@ void TextIndenter::reindent(const QTextCursor &cursor,
|
||||
// skip empty blocks
|
||||
while (block.isValid() && block != end) {
|
||||
QString bt = block.text();
|
||||
if (tabSettings.firstNonSpace(bt) < bt.size())
|
||||
if (TabSettings::firstNonSpace(bt) < bt.size())
|
||||
break;
|
||||
indentBlock(block, QChar::Null, tabSettings);
|
||||
block = block.next();
|
||||
|
||||
Reference in New Issue
Block a user