Hi, you cannot reply rely on RTTI in Qt Core. static_cast is fine in this scenario as we know it'll be a key event.
Cheers Kai Uwe _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development