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:
parent
756f319457
commit
c4d870ea0a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue