This can happen when diffing files.
// only show top rows
return false;
}
- if (m_type == Leaked || m_type == Temporary) {
- if (!sourceModel()->index(source_row, toSource(m_type)).data(TreeModel::SortRole).toULongLong()) {
- // don't show rows that didn't leak anything, or didn't trigger any temporary allocations
- return false;
- }
+ if (!sourceModel()->index(source_row, toSource(m_type)).data(TreeModel::SortRole).toULongLong()) {
+ // don't show rows that didn't leak anything, or didn't trigger any temporary allocations
+ return false;
}
return true;
}