summaryrefslogtreecommitdiffstats
path: root/src/splinechart/splinechartitem.cpp
diff options
context:
space:
mode:
authorMarek Rosa <marek.rosa@digia.com>2012-05-12 15:18:47 +0300
committerMarek Rosa <marek.rosa@digia.com>2012-05-12 15:18:47 +0300
commit9e86776df29cee9aa175cc53e2c4eb41839700c2 (patch)
tree8f923f326d7fcc277b86b02fd2a5cd397fa5fccf /src/splinechart/splinechartitem.cpp
parenteb9b7c9d2f78a40988cef1437a3063a6f9ab1b7f (diff)
Removed controlPoint function from SplineSeries Public API
Diffstat (limited to 'src/splinechart/splinechartitem.cpp')
-rw-r--r--src/splinechart/splinechartitem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/splinechart/splinechartitem.cpp b/src/splinechart/splinechartitem.cpp
index c5faf3c2..72a3fd89 100644
--- a/src/splinechart/splinechartitem.cpp
+++ b/src/splinechart/splinechartitem.cpp
@@ -74,7 +74,8 @@ void SplineChartItem::updateLayout(QVector<QPointF> &oldPoints, QVector<QPointF>
QPointF SplineChartItem::calculateGeometryControlPoint(int index) const
{
- return XYChartItem::calculateGeometryPoint(m_series->controlPoint(index));
+// return XYChartItem::calculateGeometryPoint(m_series->controlPoint(index));
+ return XYChartItem::calculateGeometryPoint(m_series->d_func()->controlPoint(index));
}
void SplineChartItem::setLayout(QVector<QPointF> &points)