diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-02-15 13:08:37 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-02-15 14:00:05 (GMT) |
commit | a39c5321bd812e3ce820fabd6a97eaf8a6c3d01c (patch) | |
tree | c207f8a0be11a720b915ac40d458558c4a9b18df /tests | |
parent | 1cfc43170331aa9488018d50ee9cb1409e4bec97 (diff) | |
download | Qt-a39c5321bd812e3ce820fabd6a97eaf8a6c3d01c.zip Qt-a39c5321bd812e3ce820fabd6a97eaf8a6c3d01c.tar.gz Qt-a39c5321bd812e3ce820fabd6a97eaf8a6c3d01c.tar.bz2 |
Mac: submenu shows up at the wrong position
If one opens a menu with a submenu, the submenu will be shown at a
wrong position on screen. The reason is that upon show, the top menu
will be centered on screen. But the child menu will be shown first, and
tries to center of the parent that has not yet been shown. So moving the
top menu upon show will fool the subwindow.
This patch will move the center code into the setGeometry_sys function
so that any resize on the window before it has been shown will re-center
the window correctly.
Task-number: QTBUG-2196
Reviewed-by: prasanth
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions