1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-23 21:07:45 +00:00

Fix non-steam builds

This commit is contained in:
Joshua Goins 2023-09-16 19:06:36 -04:00
parent 756f319457
commit c4d870ea0a

View file

@ -81,8 +81,10 @@ int main(int argc, char *argv[])
QQmlApplicationEngine engine;
#ifdef ENABLE_STEAM
auto core = engine.singletonInstance<LauncherCore *>(QStringLiteral("zone.xiv.astra"), QStringLiteral("LauncherCore"));
core->setIsSteam(parser.isSet(steamOption));
#endif
engine.rootContext()->setContextObject(new KLocalizedContext(&engine));
QObject::connect(&engine, &QQmlApplicationEngine::quit, &app, &QCoreApplication::quit);