QTfrontend/main.cpp
branch0.9.24
changeset 13543 dfde8aad6b3e
parent 13304 5ac2bdefa173
child 13525 873b7d32bc97
--- a/QTfrontend/main.cpp	Tue Jul 24 18:37:52 2018 +0200
+++ b/QTfrontend/main.cpp	Tue Jul 24 18:37:52 2018 +0200
@@ -191,8 +191,6 @@
     cocoaInit = new CocoaInitializer(); // Creates the autoreleasepool preventing cocoa object leaks on OS X.
 #endif
 
-    SDLInteraction::instance();
-
     HWApplication app(argc, argv);
     app.setAttribute(Qt::AA_DontShowIconsInMenus,false);
 
@@ -414,6 +412,8 @@
     }
 #endif
 
+    SDLInteraction::instance();
+
     QString style = "";
     QString fname;