From c4d870ea0a4272b77faa92e002f5895a78e730d4 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 16 Sep 2023 19:06:36 -0400 Subject: [PATCH] Fix non-steam builds --- launcher/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/launcher/src/main.cpp b/launcher/src/main.cpp index d33a7ac..76f128c 100755 --- a/launcher/src/main.cpp +++ b/launcher/src/main.cpp @@ -81,8 +81,10 @@ int main(int argc, char *argv[]) QQmlApplicationEngine engine; +#ifdef ENABLE_STEAM auto core = engine.singletonInstance(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);