diff options
author | Felix Bourbonnais <thor400.75@gmail.com> | 2016-05-10 10:06:53 -0400 |
---|---|---|
committer | Félix Bourbonnais <thor400.75@gmail.com> | 2016-05-18 17:40:11 +0000 |
commit | b627dd2c24c5962c1e8f9d72bcbe9ebdfe6dfceb (patch) | |
tree | 023ef119b84d4967e21a8b8bd1b9b74927c05fb1 /lib | |
parent | f095ff85c5c3798161146244e2d5ed8f4724145c (diff) |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions