summaryrefslogtreecommitdiffstats
path: root/examples/qmloscilloscope/main.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2014-02-06 14:00:25 +0200
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2014-02-06 14:23:31 +0200
commit811be6f81b2e8c4d9d23cff5b4287c8a5dc86fc3 (patch)
tree549f2a46531c853893e31083a12d3729d07c4a86 /examples/qmloscilloscope/main.cpp
parente91237b54c2f58eaa8a2ce36bf016e2d8e8588f2 (diff)
Change rotations to use angle and vector in APIs
Quaternions are pain in the behind to use, especially in QML, so change them to angle + vector combinations. Change-Id: I25eb5ea92deaf3a079e2e193cce2e8de89f3c3c4 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'examples/qmloscilloscope/main.cpp')
-rw-r--r--examples/qmloscilloscope/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qmloscilloscope/main.cpp b/examples/qmloscilloscope/main.cpp
index c4e2430a..8cbaba71 100644
--- a/examples/qmloscilloscope/main.cpp
+++ b/examples/qmloscilloscope/main.cpp
@@ -44,7 +44,7 @@ int main(int argc, char *argv[])
viewer.setTitle(QStringLiteral("Oscilloscope example"));
//! [0]
- DataSource dataSource(&viewer);
+ DataSource dataSource;
viewer.rootContext()->setContextProperty("dataSource", &dataSource);
//! [0]