diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-01-14 12:21:21 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2010-01-15 14:02:22 (GMT) |
commit | 27ed53bbdcbb8ee9c9916bf90e5c9fe8157091ec (patch) | |
tree | 1639baa18d6300466a1f7035233ff0a41be2a927 /src/opengl/qgl_mac.mm | |
parent | 2d1f2bbfa6def2afdf8cc53e4521c4c74c9b1769 (diff) | |
download | Qt-27ed53bbdcbb8ee9c9916bf90e5c9fe8157091ec.zip Qt-27ed53bbdcbb8ee9c9916bf90e5c9fe8157091ec.tar.gz Qt-27ed53bbdcbb8ee9c9916bf90e5c9fe8157091ec.tar.bz2 |
Cococa: QDialogs stays on top when application is not active
At one point in history, we decided that QDialogs should stack just
above normal windows. This patch reverts this behaviour, as cocoa
gets confused if we stack a dialog at this level without telling it
to be modal. So instead, we let cocoa set the modal window level when
we create a modal session, and also let cocoa restore the level to
what it were when the sessions ends. That way, we avoid doing the work
that cocoa is allready designed to do.
Task-number: QTBUG-5057
Reviewed-by: msorvig
Diffstat (limited to 'src/opengl/qgl_mac.mm')
0 files changed, 0 insertions, 0 deletions