[card] Fix removing profiles

We remove items from the list while iterating, which doesn't work this way

Use QMutableListIterator to make it work

BUG: 477104

Merge request reports

Loading