QTfrontend/main.cpp
changeset 8223 14d9a3c33650
parent 8206 1633a6510834
child 8278 9cdfcb5b7ddd
child 8316 89232b2fa1d6
--- a/QTfrontend/main.cpp	Tue Dec 04 10:17:16 2012 +0100
+++ b/QTfrontend/main.cpp	Tue Dec 04 10:49:52 2012 +0100
@@ -35,8 +35,6 @@
 #include "DataManager.h"
 #include "FileEngine.h"
 
-#include "frontlib.h"
-
 #ifdef _WIN32
 #include <Shlobj.h>
 #endif
@@ -140,8 +138,6 @@
 
     FileEngineHandler engine(argv[0]);
 
-    flib_init();
-
     app.setAttribute(Qt::AA_DontShowIconsInMenus,false);
 
     QStringList arguments = app.arguments();
@@ -321,9 +317,5 @@
 
     app.form = new HWForm(NULL, style);
     app.form->show();
-    int r = app.exec();
-
-    flib_quit();
-
-    return r;
+    return app.exec();
 }