diff options
Diffstat (limited to 'examples/datavisualization')
-rw-r--r-- | examples/datavisualization/customitems/customitemgraph.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/datavisualization/customitems/customitemgraph.cpp b/examples/datavisualization/customitems/customitemgraph.cpp index 56187d14..aeae61e9 100644 --- a/examples/datavisualization/customitems/customitemgraph.cpp +++ b/examples/datavisualization/customitems/customitemgraph.cpp @@ -26,7 +26,8 @@ using namespace QtDataVisualization; CustomItemGraph::CustomItemGraph(Q3DSurface *surface, QLabel *label) : m_graph(surface), - m_textField(label) + m_textField(label), + m_previouslyAnimatedItem(0) { QImage layerOneHMap(":/maps/layer_1.png"); QHeightMapSurfaceDataProxy *layerOneProxy = new QHeightMapSurfaceDataProxy(layerOneHMap); |