summaryrefslogtreecommitdiffstats
path: root/examples/bars/graphmodifier.cpp
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-12-02 08:43:02 +0200
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-12-02 09:01:25 +0200
commit94235c2e633845951ce6c947965789bb3f8ee7c4 (patch)
tree60f902b9defe670736dff4bf33d13ef5bfb57804 /examples/bars/graphmodifier.cpp
parent91c9f6791af049b873b7c60a88aa226eaec70c18 (diff)
Theme documented
Task-number: QTRD-2633 Change-Id: Ib274ec236f50145df8fd4c2d83f62d4a9154687a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'examples/bars/graphmodifier.cpp')
-rw-r--r--examples/bars/graphmodifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bars/graphmodifier.cpp b/examples/bars/graphmodifier.cpp
index 23cefeb4..09c45c6f 100644
--- a/examples/bars/graphmodifier.cpp
+++ b/examples/bars/graphmodifier.cpp
@@ -185,7 +185,7 @@ void GraphModifier::changePresetCamera()
void GraphModifier::changeTheme(int theme)
{
- m_graph->setTheme(new Q3DTheme(QDataVis::Theme(theme)));
+ m_graph->setTheme(new Q3DTheme(Q3DTheme::Theme(theme)));
emit backgroundEnabledChanged(m_graph->theme()->isBackgroundEnabled());
emit gridEnabledChanged(m_graph->theme()->isGridEnabled());
emit fontChanged(m_graph->theme()->font());