forked from qt-creator/qt-creator
Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -195,7 +195,7 @@ void TimelineRenderState::updateExpandedRowHeights(const TimelineModel *model, i
|
||||
Q_D(TimelineRenderState);
|
||||
int row = 0;
|
||||
qreal offset = 0;
|
||||
for (QSGNode *rowNode = d->expandedRowRoot->firstChild(); rowNode != 0;
|
||||
for (QSGNode *rowNode = d->expandedRowRoot->firstChild(); rowNode != nullptr;
|
||||
rowNode = rowNode->nextSibling()) {
|
||||
qreal rowHeight = model->expandedRowHeight(row++);
|
||||
QMatrix4x4 matrix;
|
||||
|
||||
Reference in New Issue
Block a user