diff -r 32465b4b4049 -r df1588234b96 QTfrontend/main.cpp --- a/QTfrontend/main.cpp Fri Jun 17 18:03:12 2011 +0200 +++ b/QTfrontend/main.cpp Mon Jun 20 20:43:11 2011 +0200 @@ -16,7 +16,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include +#include "HWApplication.h" + #include #include #include @@ -51,7 +52,7 @@ } int main(int argc, char *argv[]) { - QApplication app(argc, argv); + HWApplication app(argc, argv); app.setAttribute(Qt::AA_DontShowIconsInMenus,false); QStringList arguments = app.arguments(); @@ -455,8 +456,8 @@ CocoaInitializer initializer; #endif - HWForm *Form = new HWForm(); + app.form = new HWForm(); - Form->show(); + app.form->show(); return app.exec(); }