forked from qt-creator/qt-creator
Remove ambiguous literal 0 from createIndex calls.
This is now a build-error. The default value is a null void pointer anyway. Change-Id: I92d0faf5152ec53c8e84ba4982c151a09aa33146 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Daniel Teske
parent
91e9cffdca
commit
8dd13f4d30
@@ -87,7 +87,7 @@ QModelIndex ErrorListModel::index(int row, int column, const QModelIndex &parent
|
||||
QTC_ASSERT(parent.model() == this, qt_noop());
|
||||
return QModelIndex();
|
||||
}
|
||||
return createIndex(row, column, 0);
|
||||
return createIndex(row, column);
|
||||
}
|
||||
|
||||
QModelIndex ErrorListModel::parent(const QModelIndex &child) const
|
||||
|
||||
Reference in New Issue
Block a user