diff options
author | Jason Barron <jbarron@trolltech.com> | 2009-04-29 08:43:45 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2009-04-29 08:43:45 (GMT) |
commit | e28cefa64b02b61e305581abdbb0469b6e484c40 (patch) | |
tree | 3395d4c4677e794007c0774d2d8b0b192dc8ed5b /doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp | |
parent | f546d1b79d64cfad35fc4b3e5cf5db7e513e1035 (diff) | |
download | Qt-e28cefa64b02b61e305581abdbb0469b6e484c40.zip Qt-e28cefa64b02b61e305581abdbb0469b6e484c40.tar.gz Qt-e28cefa64b02b61e305581abdbb0469b6e484c40.tar.bz2 |
Make QPixmap::grabWindow() work for top level windows.
Its not enough to mask with Qt::Desktop because this enum value also
includes Qt::Window so masking would give us a non-zero result thus
causing the 'if' case to resolve to true which is not what we want.
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp')
0 files changed, 0 insertions, 0 deletions