summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptable.cpp
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-04-29 08:43:45 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-04-29 08:43:45 (GMT)
commite28cefa64b02b61e305581abdbb0469b6e484c40 (patch)
tree3395d4c4677e794007c0774d2d8b0b192dc8ed5b /doc/src/snippets/code/src_script_qscriptable.cpp
parentf546d1b79d64cfad35fc4b3e5cf5db7e513e1035 (diff)
downloadQt-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_script_qscriptable.cpp')
0 files changed, 0 insertions, 0 deletions