QTfrontend/main.cpp
changeset 6721 7dbf8a0c1f5d
parent 6700 e04da46ee43c
child 6930 d187ea93fc4f
--- a/QTfrontend/main.cpp	Mon Feb 20 20:33:26 2012 +0400
+++ b/QTfrontend/main.cpp	Mon Feb 20 21:52:18 2012 +0400
@@ -30,6 +30,7 @@
 
 #include "hwform.h"
 #include "hwconsts.h"
+#include "newnetclient.h"
 
 #include "HWDataManager.h"
 
@@ -151,6 +152,8 @@
 
     Q_INIT_RESOURCE(hedgewars);
 
+    qRegisterMetaType<HWTeam>("HWTeam");
+
     bindir->cd("bin"); // workaround over NSIS installer
 
     if(cConfigDir->length() == 0)