qt5base-lts/tests/auto/gui
David Faure 1aede2d7fc QPainter on QBitmap: make setBrush(NoBrush) work as expected.
It had no effect because of an explicit check for NoBrush.
However the default in QBitmap is (unfortunately) QBrush(color0), rather
than NoBrush, so the brush must be updated when calling setBrush(NoBrush).

I suppose the real issue is that lastBrush is default-constructed in
QRasterPaintEngine, rather than starting with the brush from QPainter,
which is QBrush(color0) for the case of the bitmap. But no reason to
special case NoBrush here anyway.

Task-Number: QTBUG-38781
Change-Id: I9996ac12bf628920cfaf0de9c886f637a336028b
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
2014-05-17 08:59:08 +02:00
..
image Introducing QPixelFormat 2014-04-23 21:43:50 +02:00
itemmodels tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
kernel Windows: Use new clipboard API for listening to changes. 2014-05-15 15:31:07 +02:00
math3d Add viewport transform to QMatrix4x4 2014-05-16 09:53:58 +02:00
painting QPainter on QBitmap: make setBrush(NoBrush) work as expected. 2014-05-17 08:59:08 +02:00
qopengl Remove direct OpenGL calls from QtOpenGL 2014-04-28 18:19:34 +02:00
text Merge remote-tracking branch 'origin/stable' into dev 2014-05-13 14:21:22 +02:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00