blob: 3299e3f7aa7c99e60e892250dd6a12c236ba179c (
plain)
1
2
3
4
5
6
|
# child-event-qobject-cast
Finds places where `qobject_cast<MyType>(event->child())` is being used inside `QObject::childEvent()` or equivalent (`QObject::event()` or `QObject::eventFilter()`).
`qobject_cast` can fail because the child might not be totally constructed yet.
|