How to detect when a delegate is destroyed?
QML and Qt Quick
3
Posts
2
Posters
1.6k
Views
1
Watching
-
Is there a way to detect when a delegate is being (or has been) destroyed?
I need to do some cleaning up on my own (deleting the pixmap used by the delegate, which comes from C++) when a delegate is no longer shown, but I'm not sure how to do it. The best way would be to somehow detect the destruction of the delegate, but how can I do that?