summaryrefslogtreecommitdiffstats
path: root/src/charts/xychart/xychart.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-02-15 20:45:36 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2016-02-15 20:45:36 +0100
commitbbf52870f4e335c0d169907d4398a12cb41ca3a1 (patch)
tree7e46dddb7d7b2fd7ce34369374bf36754569c7d2 /src/charts/xychart/xychart.cpp
parent47032ec192b32a24825edd7639dc964d795a0a27 (diff)
parent672ea1cb191f9d386ce32b96102fe638fcae5fba (diff)
Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-alpha1
Conflicts: sync.profile Change-Id: Icdf61d347a6d0b3624867ceb8c1e4220c6c78a76
Diffstat (limited to 'src/charts/xychart/xychart.cpp')
-rw-r--r--src/charts/xychart/xychart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charts/xychart/xychart.cpp b/src/charts/xychart/xychart.cpp
index 700a6705..28553d55 100644
--- a/src/charts/xychart/xychart.cpp
+++ b/src/charts/xychart/xychart.cpp
@@ -121,8 +121,8 @@ void XYChart::updateChart(QVector<QPointF> &oldPoints, QVector<QPointF> &newPoin
void XYChart::updateGlChart()
{
- presenter()->ensureGLWidget();
dataSet()->glXYSeriesDataManager()->setPoints(m_series, domain());
+ presenter()->updateGLWidget();
updateGeometry();
}