qmlfrontend/hwengine.cpp
changeset 14299 21be7838a127
parent 14278 645e4591361f
child 14303 00b56ec8b7df
--- a/qmlfrontend/hwengine.cpp	Sun Nov 25 05:52:06 2018 +0300
+++ b/qmlfrontend/hwengine.cpp	Sun Nov 25 22:32:49 2018 +0100
@@ -5,6 +5,7 @@
 
 #include "engine_instance.h"
 #include "engine_interface.h"
+#include "game_view.h"
 #include "preview_image_provider.h"
 
 #include "hwengine.h"
@@ -30,7 +31,7 @@
   qDebug("HWEngine::exposeToQML");
   qmlRegisterSingletonType<HWEngine>("Hedgewars.Engine", 1, 0, "HWEngine",
                                      hwengine_singletontype_provider);
-  // qmlRegisterType<GameView>("Hedgewars.Engine", 1, 0, "GameView");
+  qmlRegisterType<GameView>("Hedgewars.Engine", 1, 0, "GameView");
 }
 
 void HWEngine::getPreview() {