Skip to content
Commit 618eb5e1 authored by Andreas Pakulat's avatar Andreas Pakulat
Browse files

Fix cleanup of cache-model

Directly deleting the cache model and leaving a reference in the view
is dangerous as the related bugreport shows. I'm not sure why there was
an event sent out to the selectionmodel, but it seems this happens already
when deleting the model. The event however is delivered later on in the
nested event-loop from the kmessagebox and at that point the selectionmodel
is already gone.

So disconnect the selectionmodel properly, explicitly remove the model
from the view  and let the cache model alive for one round of
event-processing.

CCBUG: 261519
parent cc0a64a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment