Skip to content

MetaItemModel: replace QList with std::list

Ilya Pominov requested to merge ipominov/k3b:metaitemmodel_list into master

Passing the address to item of QList by QModelIndex leads to a crash, because in some cases QList can make a deep copy. https://doc.qt.io/qt-6/qlist.html#operator-5b-5d For metaitemmodeltest not reproduced on Qt5 but stable reproduced on Qt6.

Merge request reports

Loading