summaryrefslogtreecommitdiffstats
path: root/examples/spectrum/spectrumapp/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/spectrum/spectrumapp/main.cpp')
-rw-r--r--examples/spectrum/spectrumapp/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/spectrum/spectrumapp/main.cpp b/examples/spectrum/spectrumapp/main.cpp
index 2e65180b..0b17d064 100644
--- a/examples/spectrum/spectrumapp/main.cpp
+++ b/examples/spectrum/spectrumapp/main.cpp
@@ -78,7 +78,7 @@ MainApp::MainApp(Q3DBars *window)
#if USE_CONES
// Set bar specifications; make them a bit wider than deep and make them be drawn 75%
// inside each other
- m_chart->setBarSpecs(1.25), QSizeF(0.2f, -0.75f));
+ m_chart->setBarSpecs(1.25), QSizeF(0.2, -0.75));
// Set bar type, smooth cones
m_chart->setBarType(QDataVis::Cones, true);
// Adjust zoom manually; automatic zoom level calculation does not work well with negative
@@ -86,7 +86,7 @@ MainApp::MainApp(Q3DBars *window)
m_chart->setCameraPosition(10.0f, 5.0f, 70);
#else
// Set bar specifications; make them twice as wide as they're deep
- m_chart->setBarSpecs(2.0, QSizeF(0.0f, 0.0f));
+ m_chart->setBarSpecs(2.0, QSizeF(0.0, 0.0));
// Set bar type, flat bars
m_chart->setBarType(QDataVis::Bars, false);
// Adjust camera position