QMenuBar: nested parenting fix
QMenuBar now receives a parent changed event for each of its parent, grand-parent, ... This fixes a crash caused by an invalid QWidget pointer and makes sure the keyboard shortcuts events are relayed to the menu bar in all parenting/re-parenting cases by installing an event filter on each parent Task-number: QTBUG-53205 Change-Id: I419e6cbc52e28a67fb08a848a7161b4cb8ae4ae5 Reviewed-by:Gabriel de Dietrich <gabriel.dedietrich@qt.io> Reviewed-by:
Błażej Szczygieł <spaz16@wp.pl>
Showing
Please register or sign in to comment