Skip to content

Fix statistics proxy model unit test with Qt6

Qt6 automatically registers comparison operators for meta types, so QStandardItemModel's value change check in setData() now also works for Akonadi::Collection. The comparison operator of that however only checks if two instances refer to the same collection, not whether they are also identical in all their content.

Work around that by setting a different collection first.

Merge request reports