1
0
Fork 0

Testing if this change broke Mac deployment.

Hopefully it didn’t but the time-frame is correct and it’s just
about the only code that happens before QApplication is created.
This commit is contained in:
James Turner 2016-05-21 10:36:43 +01:00
parent 959ac91a8b
commit f2273c7793

View 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");