QTfrontend/main.cpp
branchphysfslayer
changeset 7768 13e2037ebc79
parent 7724 36c539c9cfb1
child 7772 a33077239712
--- a/QTfrontend/main.cpp	Thu Oct 18 14:04:24 2012 -0400
+++ b/QTfrontend/main.cpp	Sat Oct 20 00:20:39 2012 +0400
@@ -31,8 +31,10 @@
 #include "hwform.h"
 #include "hwconsts.h"
 #include "newnetclient.h"
+#include "physfs.h"
 
 #include "DataManager.h"
+#include "FileEngine.h"
 
 #ifdef _WIN32
 #include <Shlobj.h>
@@ -104,6 +106,10 @@
 {
     HWApplication app(argc, argv);
 
+    PHYSFS_init(argv[0]);
+
+    FileEngineHandler engine;
+
     app.setAttribute(Qt::AA_DontShowIconsInMenus,false);
 
     QStringList arguments = app.arguments();