From 2f7c12bfee0315baa46b69fdb5185c522ec7cb2b Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 21 Nov 2014 12:42:18 +0200 Subject: Make customitems example actually show some custom items. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I056b71fc913e5fd68b895d6bf4b5676cbe7c6db0 Reviewed-by: Tomi Korpipää --- examples/datavisualization/customitems/customitemgraph.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/datavisualization/customitems/customitemgraph.cpp') diff --git a/examples/datavisualization/customitems/customitemgraph.cpp b/examples/datavisualization/customitems/customitemgraph.cpp index 182bf7d7..404aa943 100644 --- a/examples/datavisualization/customitems/customitemgraph.cpp +++ b/examples/datavisualization/customitems/customitemgraph.cpp @@ -109,6 +109,9 @@ CustomItemGraph::CustomItemGraph(Q3DSurface *surface, QLabel *label) titleLabel->setFacingCamera(true); titleLabel->setBackgroundColor(QColor(0x66cdaa)); m_graph->addCustomItem(titleLabel); + + toggleItemOne(true); + toggleItemTwo(true); } CustomItemGraph::~CustomItemGraph() -- cgit v1.2.3