diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-08-27 07:27:13 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-09-07 08:08:05 (GMT) |
commit | 854a274d7b17277235acc1fb3c36f576c7c6b8ec (patch) | |
tree | b6322ebb1cd4208d163e7c40105b5ec357d183a4 /doc/src/snippets/sqldatabase/sqldatabase.cpp | |
parent | fb32c57686f3ed88671098f4ee8417bd2a325352 (diff) | |
download | Qt-854a274d7b17277235acc1fb3c36f576c7c6b8ec.zip Qt-854a274d7b17277235acc1fb3c36f576c7c6b8ec.tar.gz Qt-854a274d7b17277235acc1fb3c36f576c7c6b8ec.tar.bz2 |
Fixed hiding a window on X11 before it was shown.
On X11 show() just issues a request to show a window, so if someone tries to
call hide() before the window was successfully mapped to the screen by the
window manager it will not work (on most window managers unfortunately).
So instead, when hide() is called we internally mark the window as "no need to
show anymore" and then if we still get MapNotify event, we will hide the window
right away.
Reviewed-by: Markus Goetz
Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions