Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 9.0.0
-
None
Description
Clazy crashes with check 'install-event-filter', if the event filter is set on a static QObject.
Example:
/* static */ QObject ClassX::Obj; ... ClassX::Obj.installEventFilter(this);
Example for a simple test (in an unrealistic use case):
QObject o;
o.installEventFilter(this);
Clazy does not crash, if the code of the example above is change to:
QObject o;
(&o)->installEventFilter(this);