]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiApplication.C
* GuiApplication.C: align Windows with other platform. No more static trick!
[features.git] / src / frontends / qt4 / GuiApplication.C
index f3c8421f62b3aa39f763a799bf8f945c1548ab1f..fb50274b570c3aa6a928fbe2939bda2523f8da00 100644 (file)
@@ -75,15 +75,7 @@ namespace lyx {
 
 lyx::frontend::Application * createApplication(int & argc, char * argv[])
 {
-       // FIXME: it would be great if we could just do:
-       //return new lyx::frontend::GuiApplication(argc, argv);
-
-#if defined(Q_WS_WIN) && !defined(Q_CYGWIN_WIN)
-       static lyx::frontend::GuiApplication app(argc, argv);
-       return &app;
-#else
        return new lyx::frontend::GuiApplication(argc, argv);
-#endif
 }