qt5base-lts/tests/auto/gui
Allan Sandfeld Jensen 9cd5c61455 Avoid unneeded QBrush::texture() calls
If a QBrush has been created without QPixmap the texture() method will
create one. This patch avoids that in several places by checking the
type of the texture brush before accessing it, or not accessing it at
all.

Task-number: QTBUG-43766
Change-Id: If6009fe1d5bd51b239ae2c838e5c3b904b56b11a
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
2015-02-02 22:05:31 +00:00
..
image Merge remote-tracking branch 'origin/5.4' into dev 2015-01-21 11:10:14 +01:00
itemmodels Update license headers and add new license files 2014-09-24 12:26:19 +02:00
kernel Merge remote-tracking branch 'origin/5.4' into dev 2014-12-29 16:37:38 +01:00
math3d Introduce QQuaternion::inverted() 2015-01-28 12:37:50 +00:00
painting Avoid unneeded QBrush::texture() calls 2015-02-02 22:05:31 +00:00
qopengl Support Alpha8 and Grayscale8 natively in the OpenGL paint engine 2014-10-27 11:54:39 +01:00
text Deprecate QFont:: rawMode()/setRawMode() 2015-01-23 14:06:03 +01:00
util Observe QLocale::RejectGroupSeparator in QInt/DoubleValidator. 2014-11-20 16:38:23 +01:00
gui.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00