From 7a33e74feea1a183c92f3071aca88fb6549e4d60 Mon Sep 17 00:00:00 2001 From: Lars Toenning Date: Thu, 22 Aug 2024 16:16:06 +0200 Subject: [PATCH] fix: Add missing CLI option to swiftlauncher The DBus server address selector tries to fetch the address from the command line parser. But the option was only added to the parser for CSwiftGuiStdApplications. This resulted in a log message from the parser. --- src/swiftlauncher/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/swiftlauncher/main.cpp b/src/swiftlauncher/main.cpp index 877c6e4e8..c0892b544 100644 --- a/src/swiftlauncher/main.cpp +++ b/src/swiftlauncher/main.cpp @@ -40,6 +40,7 @@ int main(int argc, char *argv[]) Q_UNUSED(qa) CGuiApplication a(CApplicationInfo::swiftLauncher(), CApplicationInfo::Laucher, CIcons::swiftLauncher1024()); a.addVatlibOptions(); // so it can be passed (hand over) to started applications + a.addDBusAddressOption(); // required by the dbus server address selector const QCommandLineOption installerOption { { "i", "installer" }, QCoreApplication::translate("main", "Installer setup.") }; a.addParserOption(installerOption); if (!a.parseCommandLineArgsAndLoadSetup()) { return EXIT_FAILURE; }