Skip to content

Fix collection filter crash

Tuomas Nurmi requested to merge nurmi/amarok:fixCollectionFilterCrash into master

Fix crash when filtering collections. As reported on e.g. https://bugs.kde.org/show_bug.cgi?id=444408 Seems to happen at least when filtered results are found under both various artists and under single artists. Model data apparently gets changed, fixed by using a QPersistentModelIndex instead of a QModelIndex, as suggested by Qt docs.

Merge request reports

Loading