forked from qt-creator/qt-creator
ClassView: Fix a readability-simplify-boolean-expr
Change-Id: I6ad8009551f90dc2d2ab01698cc2d972cf47a79b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -333,11 +333,7 @@ bool ParserTreeItem::canFetchMore(QStandardItem *item) const
|
||||
|
||||
int storedChildren = item->rowCount();
|
||||
int internalChildren = d->symbolInformations.count();
|
||||
|
||||
if (storedChildren < internalChildren)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return storedChildren < internalChildren;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user