summaryrefslogtreecommitdiffstats
path: root/examples/surface/surfacegraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/surface/surfacegraph.cpp')
-rw-r--r--examples/surface/surfacegraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/surface/surfacegraph.cpp b/examples/surface/surfacegraph.cpp
index d54bf9ff..7008a32b 100644
--- a/examples/surface/surfacegraph.cpp
+++ b/examples/surface/surfacegraph.cpp
@@ -226,7 +226,7 @@ void SurfaceGraph::setAxisZRange(float min, float max)
//! [6]
void SurfaceGraph::changeTheme(int theme)
{
- m_graph->setTheme(new Q3DTheme(QDataVis::Theme(theme)));
+ m_graph->setTheme(new Q3DTheme(Q3DTheme::Theme(theme)));
}
//! [6]