更新 'src/GUI/QtLauncher.cxx'

This commit is contained in:
zhongjin 2022-11-24 23:08:30 +08:00
parent 63fef17ad9
commit 4e10115074

View File

@ -436,10 +436,15 @@ void initApp(int& argc, char** argv, bool doInitQSettings)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
static_qApp.reset(new QApplication(s_argc, argv));
static_qApp->setOrganizationName("FlightGear");
static_qApp->setApplicationName("FlightGear");
static_qApp->setOrganizationDomain("flightgear.org");
static_qApp->setOrganizationName("JingweiHT");
static_qApp->setApplicationName("JingweiHT");
static_qApp->setOrganizationDomain("jingweiht.com");
static_qApp->setDesktopFileName(
QStringLiteral("org.flightgear.FlightGear.desktop"));