qmlfrontend/Page1.qml
changeset 14319 00b56ec8b7df
parent 14315 21be7838a127
child 14392 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()