]> git.mxchange.org Git - flightgear.git/commitdiff
Testing if this change broke Mac deployment.
authorJames Turner <zakalawe@mac.com>
Sat, 21 May 2016 09:36:43 +0000 (10:36 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:35 +0000 (23:27 +0200)
Hopefully it didn’t but the time-frame is correct and it’s just
about the only code that happens before QApplication is created.

src/GUI/QtLauncher.cxx

index 1cbcfb790c3d0b61c540c1501d34bc823d58ddaf..4791819d0c7874f70040b2f669f7e0d101346de0 100644 (file)
@@ -379,10 +379,11 @@ void initApp(int& argc, char** argv)
         // and may crash if it is freed
         // http://doc.qt.io/qt-5/qguiapplication.html#QGuiApplication
 
+#if 0
         QSettings::setDefaultFormat(QSettings::IniFormat);
         QSettings::setPath(QSettings::IniFormat, QSettings::UserScope,
                            QString::fromStdString(globals->get_fg_home()));
-
+#endif
         QApplication* app = new QApplication(s_argc, argv);
         app->setOrganizationName("FlightGear");
         app->setApplicationName("FlightGear");