From c959e641cbd07f0c83bf05eb49aa6a53d77c9a0b Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sat, 12 Oct 2024 17:36:26 +0200 Subject: [PATCH] fix: Set correct QGuiApplication::desktopFileName The implicity default doesn't match the actual name of the desktop file. This fixes e.g. the application icon on Wayland --- src/gui/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/src/main.cpp b/src/gui/src/main.cpp index 5130d489b..040846c7b 100644 --- a/src/gui/src/main.cpp +++ b/src/gui/src/main.cpp @@ -75,6 +75,7 @@ int main(int argc, char *argv[]) { QCoreApplication::setApplicationName(kAppName); QCoreApplication::setOrganizationName(kAppName); + QGuiApplication::setDesktopFileName(DESKFLOW_APP_ID); // used as a prefix for settings paths, and must not be a url. QCoreApplication::setOrganizationDomain(kOrgDomain);