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:
@@ -158,7 +158,7 @@ bool AutoCompleter::isNextBlockIndented(const QTextBlock ¤tBlock) const
|
||||
if (block.next().isValid()) { // not the last block
|
||||
block = block.next();
|
||||
//skip all empty blocks
|
||||
while (block.isValid() && m_tabSettings.onlySpace(block.text()))
|
||||
while (block.isValid() && TabSettings::onlySpace(block.text()))
|
||||
block = block.next();
|
||||
if (block.isValid()
|
||||
&& m_tabSettings.indentationColumn(block.text()) > indentation)
|
||||
|
||||
Reference in New Issue
Block a user