summaryrefslogtreecommitdiffstats
path: root/examples/cylinder-cpp
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2015-01-20 15:53:29 +0100
committerKevin Ottens <kevin.ottens@kdab.com>2015-01-23 07:51:37 +0100
commit66475d12dd8944ac67c087bc1dbb76dd75a3d686 (patch)
tree6ccc8597aff0552d4b8da401503754ff50b9968e /examples/cylinder-cpp
parenta452e142ee25d60e4c7ae646da8596c95cbaf564 (diff)
The input aspect don't need QWindow anymore
This aspect doesn't need to depend on a QWindow, any QObject can do as long as we can have an event filter on it and we see input events on it. Rename the whole concept to "view" in the process. Change-Id: Idce2fcc37c5679fe0f7915d27793685167dd59a6 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/cylinder-cpp')
-rw-r--r--examples/cylinder-cpp/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cylinder-cpp/main.cpp b/examples/cylinder-cpp/main.cpp
index 2eaf4931d..888d9d86e 100644
--- a/examples/cylinder-cpp/main.cpp
+++ b/examples/cylinder-cpp/main.cpp
@@ -78,7 +78,7 @@ int main(int argc, char **argv)
engine.initialize();
QVariantMap data;
data.insert(QStringLiteral("surface"), QVariant::fromValue(static_cast<QSurface *>(&view)));
- data.insert(QStringLiteral("window"), QVariant::fromValue(&view));
+ data.insert(QStringLiteral("eventSource"), QVariant::fromValue(&view));
engine.setData(data);
// Root entity