diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-16 09:59:34 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-16 10:20:57 (GMT) |
commit | 28e23016eca537beae2da833603f3063b3bc5bcd (patch) | |
tree | ab7c688e5fbf353713c08da5a9a8f9e30b45bade /src | |
parent | 179967425585a70fd626e98bf4f34a8e48998f35 (diff) | |
download | Qt-28e23016eca537beae2da833603f3063b3bc5bcd.zip Qt-28e23016eca537beae2da833603f3063b3bc5bcd.tar.gz Qt-28e23016eca537beae2da833603f3063b3bc5bcd.tar.bz2 |
Removed unnecessary lines of code.
Reviewed-by: Gunnar
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/painting/qpaintengineex.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/painting/qpaintengineex.cpp b/src/gui/painting/qpaintengineex.cpp index ff82d59..e0746fb 100644 --- a/src/gui/painting/qpaintengineex.cpp +++ b/src/gui/painting/qpaintengineex.cpp @@ -494,11 +494,9 @@ void QPaintEngineEx::stroke(const QVectorPath &path, const QPen &pen) } else { d->activeStroker->moveTo(points[0], points[1]); points += 2; - ++types; while (points < lastPoint) { d->activeStroker->lineTo(points[0], points[1]); points += 2; - ++types; } if (path.hasImplicitClose()) d->activeStroker->lineTo(path.points()[0], path.points()[1]); @@ -561,12 +559,10 @@ void QPaintEngineEx::stroke(const QVectorPath &path, const QPen &pen) QPointF p = ((QPointF *)points)[0] * state()->matrix; d->activeStroker->moveTo(p.x(), p.y()); points += 2; - ++types; while (points < lastPoint) { QPointF p = ((QPointF *)points)[0] * state()->matrix; d->activeStroker->lineTo(p.x(), p.y()); points += 2; - ++types; } if (path.hasImplicitClose()) d->activeStroker->lineTo(p.x(), p.y()); |