Nope, this is not the problem. No passed object to a slot. In a context menu event a QAction is created, which calls a method 'deleteSelected()'. deleteSelected() has a pointer to the model, fetches the selected indices from that model and starts to delete. No signal/slot or passed parameter involved at all.
I think the QPersistentModel hint was the right idea.
QPersistenModel was definitely the right idea. Problem solved.
Bookmarks