Fixed QPainter::drawPolyline() not drawing solid lines.
authorSamuel Rødal <samuel.rodal@digia.com>
Wed, 13 Mar 2013 10:40:48 +0000 (11:40 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 20 Mar 2013 16:32:30 +0000 (17:32 +0100)
commit56e4daccf9b1b9c2b3d7103cabc40fb406a23df3
tree0aff0c8e0983ccb262cc511df052bdee21ec2de5
parenta2d573ac8e72315e60d4b17903d3035adffb8b18
Fixed QPainter::drawPolyline() not drawing solid lines.

If a line segment isn't filled we keep using the same point of origin.

Task-number: QTBUG-26156
Change-Id: I20af8410a7039b69848f201ab62fd3c01b95531b
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
(cherry picked from commit b528e1324add2208abf8f83fb51a8bd2183157f5)
src/gui/painting/qcosmeticstroker.cpp