diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-04-28 12:07:47 (GMT) |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-04-28 12:10:55 (GMT) |
commit | a690e560b38385ebb9cd83288e8660d2a4ca2fde (patch) | |
tree | 356af75ffd13e110a117950721c8448e708baed1 /src/opengl | |
parent | 0d70b0a9faecf042fdb20e0056bdaaec289b851c (diff) | |
download | Qt-a690e560b38385ebb9cd83288e8660d2a4ca2fde.zip Qt-a690e560b38385ebb9cd83288e8660d2a4ca2fde.tar.gz Qt-a690e560b38385ebb9cd83288e8660d2a4ca2fde.tar.bz2 |
Made the autotest for drawing pixmaps with painter open more fail safe.
The autotest relies on QPixmap::grabWindow() which causes random CI
failures because it may capture bogus content if some other window
comes to foreground, focus is changed, etc. To overcome these false
positives the pixmap content comparison is now only done when the
captured content is one of the three possible images. If it is
anything else, we cannot verify so the case is skipped.
Task-number: QT-4002
Reviewed-by: TRUSTME
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions