diff -r 2ea5cde93abc -r ea7541f77944 QTfrontend/main.cpp --- a/QTfrontend/main.cpp Tue Nov 20 23:09:17 2012 +0400 +++ b/QTfrontend/main.cpp Wed Nov 21 00:04:09 2012 +0400 @@ -35,6 +35,8 @@ #include "DataManager.h" #include "FileEngine.h" +#include "frontlib.h" + #ifdef _WIN32 #include #endif @@ -109,6 +111,8 @@ FileEngineHandler engine(argv[0]); + flib_init(); + app.setAttribute(Qt::AA_DontShowIconsInMenus,false); QStringList arguments = app.arguments(); @@ -290,5 +294,9 @@ app.form = new HWForm(NULL, style); app.form->show(); - return app.exec(); + int r = app.exec(); + + flib_quit(); + + return r; }