changeset 14842 | ef9630519491 |
parent 14713 | cc6ab1e3f7d5 |
child 15894 | ebc50f21e849 |
--- a/qmlfrontend/game_view.cpp Fri Apr 26 23:21:27 2019 +0200 +++ b/qmlfrontend/game_view.cpp Fri Apr 26 23:21:58 2019 +0200 @@ -6,7 +6,8 @@ #include <QtGui/QOpenGLContext> #include <QtGui/QOpenGLShaderProgram> -GameView::GameView() : m_delta(0), m_windowChanged(true) { +GameView::GameView(QQuickItem* parent) + : QQuickItem(parent), m_delta(0), m_windowChanged(true) { connect(this, &QQuickItem::windowChanged, this, &GameView::handleWindowChanged); }