summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>2010-05-14 09:41:05 (GMT)
committerCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>2010-05-14 09:56:17 (GMT)
commite0c4899b46a68b37ce743c5a1ffd17596cbaa44c (patch)
treeae1649c4ca477014ebea1cf255984ea30a04f411 /tests
parent23f1fa2e47f3bd4cea92510d70c2e9d0fbbcfc92 (diff)
downloadQt-e0c4899b46a68b37ce743c5a1ffd17596cbaa44c.zip
Qt-e0c4899b46a68b37ce743c5a1ffd17596cbaa44c.tar.gz
Qt-e0c4899b46a68b37ce743c5a1ffd17596cbaa44c.tar.bz2
Mac: restoreGeometry()
The problem here is the fact that when zooming (maximizing) a window, we should update the starting position since the window is now starting at 0,0. However when restoring the window should be placed in the original position. The bug here occurs because we kept the original position and the new size. So the window was drawn were it was using the new size. This patch introduces a boolean flag that keeps track of the maximized state. We are interested in knowing if the window was maximized but not restored, so when saving the geometry we have a way to know that we need to "move" the window to 0,0. Task-number: QTBUG-10504 Reviewed-by: Richard Moe Gustavsen
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions