qmlfrontend/Page1.qml
changeset 14298 00b56ec8b7df
parent 14294 21be7838a127
child 14371 90bd2c331703
--- a/qmlfrontend/Page1.qml	Mon Nov 26 14:31:36 2018 +0100
+++ b/qmlfrontend/Page1.qml	Mon Nov 26 14:48:38 2018 +0100
@@ -6,7 +6,8 @@
     gameView.tick(100)
   }
   gameButton.onClicked: {
-    HWEngine.runQuickGame()
+    var engineInstance = HWEngine.runQuickGame()
+    gameView.engineInstance = engineInstance
   }
   button1.onClicked: {
     HWEngine.getPreview()