qt5base-lts/tests/auto/widgets/graphicsview
aavit 52ccbd8911 Fix: don't override the new non-cosmetic default pen in qwidget
As QWidget initializes any painter created in paintevent handler to
have the pen color of the palette's foreground, setting it to 0 width,
i.e. cosmetic, it negated the effect of the recent change to default
1-width non-cosmetic, ref. I04d910e9700baf7f13a8aac07a3633014bb9283e

This caused scaled painting with default pen on QImage and QWidget
to yield different results.

Change-Id: I930b64bf7c0a8c84b9ea3edb49adc813370fed0e
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
2012-10-25 14:10:04 +02:00
..
qgraphicsanchorlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicsanchorlayout1 Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicseffectsource Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicsgridlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicsitem Make QPen default to 1-width non-cosmetic. 2012-10-22 19:36:43 +02:00
qgraphicsitemanimation Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicslayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicslayoutitem Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicslinearlayout Remove Cleanlooks and Plastique 2012-10-22 19:36:43 +02:00
qgraphicsobject Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicspixmapitem Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicspolygonitem Make QPen default to 1-width non-cosmetic. 2012-10-22 19:36:43 +02:00
qgraphicsproxywidget Remove Cleanlooks and Plastique 2012-10-22 19:36:43 +02:00
qgraphicsscene Make QPen default to 1-width non-cosmetic. 2012-10-22 19:36:43 +02:00
qgraphicssceneindex Make QPen default to 1-width non-cosmetic. 2012-10-22 19:36:43 +02:00
qgraphicstransform Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicsview Fix: don't override the new non-cosmetic default pen in qwidget 2012-10-25 14:10:04 +02:00
qgraphicswidget Remove Cleanlooks and Plastique 2012-10-22 19:36:43 +02:00
graphicsview.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00