QTfrontend/main.cpp
changeset 13516 d44ca1f04bbe
parent 13304 5ac2bdefa173
child 13517 873b7d32bc97
--- a/QTfrontend/main.cpp	Fri Jul 20 02:22:12 2018 +0200
+++ b/QTfrontend/main.cpp	Fri Jul 20 02:43:38 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;