The base class here is QStandardItemModel, which already implements clear() the way we need it. Or am I missing something?
Details
Details
Diff Detail
Diff Detail
- Repository
- R363 Print Manager
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
QStandardItemModel::clear() also removes the header data, this is not done here. This looks more like clearData(), which was introduced in 5.12.