[Qt-interest] Removing EventFilter possible?

Michael Leupold lemma at confuego.org
Sun Aug 2 03:36:37 CEST 2009


Hi,

I was wondering if there's any way to safely remove an EventFilter set using 
QAbstractEventDispatcher::setEventFilter().

I've seen code remembering the previous EventFilter and doing 
setEventFilter(previous) when done, but it seems that this will not work if 
EventFilters are removed in an order other than the one they were installed.

Regards,
Michael




More information about the Qt-interest-old mailing list