diff options
Diffstat (limited to 'examples/bars/graphmodifier.cpp')
-rw-r--r-- | examples/bars/graphmodifier.cpp | 2 |
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()); |