summaryrefslogtreecommitdiffstats
path: root/examples/customproxy/rainfallgraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/customproxy/rainfallgraph.cpp')
-rw-r--r--examples/customproxy/rainfallgraph.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/customproxy/rainfallgraph.cpp b/examples/customproxy/rainfallgraph.cpp
index ad45d016..57e1d0ea 100644
--- a/examples/customproxy/rainfallgraph.cpp
+++ b/examples/customproxy/rainfallgraph.cpp
@@ -72,10 +72,10 @@ RainfallGraph::RainfallGraph(Q3DBars *rainfall)
m_graph->setSelectionMode(QDataVis::SelectionItemAndColumn | QDataVis::SelectionSlice);
// Set theme
- m_graph->setTheme(new Q3DTheme(Q3DTheme::ThemeArmyBlue));
+ m_graph->setActiveTheme(new Q3DTheme(Q3DTheme::ThemeArmyBlue));
// Set font to theme
- m_graph->theme()->setFont(QFont("Century Gothic", 30));
+ m_graph->activeTheme()->setFont(QFont("Century Gothic", 30));
// Set camera position and zoom
m_graph->scene()->activeCamera()->setCameraPreset(Q3DCamera::CameraPresetIsometricRightHigh);