qt5base-lts/tests/auto/widgets/graphicsview/qgraphicsview
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
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qgraphicsview.pro tst_qgraphicsview: increase test timeout further 2012-08-13 07:14:40 +02:00
tst_qgraphicsview_2.cpp Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
tst_qgraphicsview.cpp Fix: don't override the new non-cosmetic default pen in qwidget 2012-10-25 14:10:04 +02:00