diff options
Diffstat (limited to 'examples/playground-qml/main.cpp')
-rw-r--r-- | examples/playground-qml/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/playground-qml/main.cpp b/examples/playground-qml/main.cpp index ddf02e89e..88ee27041 100644 --- a/examples/playground-qml/main.cpp +++ b/examples/playground-qml/main.cpp @@ -62,7 +62,7 @@ int main(int argc, char* argv[]) engine.aspectEngine()->registerAspect(new Qt3D::QInputAspect()); 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.aspectEngine()->setData(data); engine.aspectEngine()->initialize(); engine.setSource(QUrl("qrc:/main.qml")); |