diff options
author | Mauro Persano <mauro.persano@kdab.com> | 2020-02-21 18:13:38 -0300 |
---|---|---|
committer | Mauro Persano <mauro.persano@kdab.com> | 2020-02-21 18:38:38 -0300 |
commit | 597c9df33c2c8a9e91e3ad1de48b1200ebca6586 (patch) | |
tree | bca7baa4f14ead67a96bd9557e2cf4646953efa6 /examples | |
parent | b769deaf57645f533cccb352722ea7b79475a2ea (diff) |
No need to register input aspect in basicshapes-cpp example
This is already done in Qt3DExtras::Qt3DWindow.
Change-Id: Idf742b93fdc0d8d4226284d6d949758a07921dd5
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qt3d/basicshapes-cpp/main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/qt3d/basicshapes-cpp/main.cpp b/examples/qt3d/basicshapes-cpp/main.cpp index fffb83a20..a347e9fb2 100644 --- a/examples/qt3d/basicshapes-cpp/main.cpp +++ b/examples/qt3d/basicshapes-cpp/main.cpp @@ -63,8 +63,6 @@ #include <QtWidgets/QCommandLinkButton> #include <QtGui/QScreen> -#include <Qt3DInput/QInputAspect> - #include <Qt3DExtras/qtorusmesh.h> #include <Qt3DRender/qmesh.h> #include <Qt3DRender/qtechnique.h> @@ -103,9 +101,6 @@ int main(int argc, char **argv) widget->setWindowTitle(QStringLiteral("Basic shapes")); - Qt3DInput::QInputAspect *input = new Qt3DInput::QInputAspect; - view->registerAspect(input); - // Root entity Qt3DCore::QEntity *rootEntity = new Qt3DCore::QEntity(); |