diff options
author | Jani Honkonen <jani.honkonen@digia.com> | 2012-09-25 15:07:59 +0300 |
---|---|---|
committer | Jani Honkonen <jani.honkonen@digia.com> | 2012-09-25 15:12:41 +0300 |
commit | f8a933676fbdcfa256f06e491b0737e37e95c6eb (patch) | |
tree | 2158c5ef940caa8c230271b2581cffcb91792ea2 /src/splinechart/splinechartitem.cpp | |
parent | 394f63738c11558ae410383fbf2403f57fca4bf8 (diff) |
more coding style fixes for src-folder
mostly putting the * or & next to the variable name
Diffstat (limited to 'src/splinechart/splinechartitem.cpp')
-rw-r--r-- | src/splinechart/splinechartitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/splinechart/splinechartitem.cpp b/src/splinechart/splinechartitem.cpp index 0df13350..066693d4 100644 --- a/src/splinechart/splinechartitem.cpp +++ b/src/splinechart/splinechartitem.cpp @@ -51,13 +51,13 @@ QPainterPath SplineChartItem::shape() const return m_path; } -void SplineChartItem::setAnimation(SplineAnimation* animation) +void SplineChartItem::setAnimation(SplineAnimation *animation) { m_animation = animation; XYChart::setAnimation(animation); } -ChartAnimation* SplineChartItem::animation() const +ChartAnimation *SplineChartItem::animation() const { return m_animation; } @@ -119,7 +119,7 @@ void SplineChartItem::updateGeometry() QPainterPath splinePath(points.at(0)); for (int i = 0; i < points.size() - 1; i++) { - const QPointF& point = points.at(i + 1); + const QPointF &point = points.at(i + 1); splinePath.cubicTo(controlPoints[2 * i], controlPoints[2 * i + 1], point); } |