kcheckaccelerators: Don't blindly cast to QWidget
The object that receives the event is not necessarily a QWidget BUG:468576 FIXED-IN:5.106
(cherry picked from commit 259c50ff)
The object that receives the event is not necessarily a QWidget BUG:468576 FIXED-IN:5.106
(cherry picked from commit 259c50ff)