Skip to content

KDirModel: two fixes for QAbstractItemModelTester

David Faure requested to merge work/dfaure/kdirmodel-modeltester-fixes into master
  • Clear out internal data structures between beginRemoveRows and endRemoveRows, as one should do so that rowCount() is correct immediately after endRemoveRows.
  • Columns > 0 don't actually have children.

Found when using the file dialog in an app that installs QAbstractItemModelTester on all itemmodels using a qApp event filter.

Merge request reports

Loading