summaryrefslogtreecommitdiffstats
path: root/src/charts/xychart/xychart.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-09-06 09:22:20 +0200
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2016-09-06 11:22:58 +0300
commit83d5e7fc85cc07fb180498876d1a346573f747e7 (patch)
treec451bf6f083a49fe21244c60b2bb9912c28407cb /src/charts/xychart/xychart.cpp
parent144474348803564eaa7bb4d17bd609d146e74f9f (diff)
parentbf26aa9d15e525fdcf6fd3f59268418533f06790 (diff)
Merge remote-tracking branch 'origin/5.7' into 5.8
Conflicts: examples/charts/charts.pro src/charts/glwidget.cpp src/chartsqml2/declarativechart.cpp src/chartsqml2/declarativeopenglrendernode.cpp tests/auto/auto.pro Change-Id: If909b4b13844c474bf4898a66ee01ac111d0a248
Diffstat (limited to 'src/charts/xychart/xychart.cpp')
-rw-r--r--src/charts/xychart/xychart.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/charts/xychart/xychart.cpp b/src/charts/xychart/xychart.cpp
index 1811a76e..4314f6dd 100644
--- a/src/charts/xychart/xychart.cpp
+++ b/src/charts/xychart/xychart.cpp
@@ -128,6 +128,12 @@ void XYChart::updateGlChart()
updateGeometry();
}
+// Doesn't update gl geometry, but refreshes the chart
+void XYChart::refreshGlChart()
+{
+ presenter()->updateGLWidget();
+}
+
//handlers
void XYChart::handlePointAdded(int index)