summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-02-15 13:08:37 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-02-15 14:00:05 (GMT)
commita39c5321bd812e3ce820fabd6a97eaf8a6c3d01c (patch)
treec207f8a0be11a720b915ac40d458558c4a9b18df /tests
parent1cfc43170331aa9488018d50ee9cb1409e4bec97 (diff)
downloadQt-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