--- 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();
}