From 1ab73adf21f2d71b0ad7193142c925994b35e48d Mon Sep 17 00:00:00 2001 From: Marcus Britanicus Date: Wed, 24 Apr 2024 13:48:32 +0530 Subject: [PATCH] Call setDesktopFileName(...) to set proper app-id on wayland --- src/core/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/main.cpp b/src/core/main.cpp index 0917d49..dc88523 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -29,6 +29,7 @@ int main(int argc, char *argv[]) scr.setOrganizationName(QStringLiteral("lxqt")); scr.setOrganizationDomain(QStringLiteral("https://lxqt.org")); scr.setApplicationName(QStringLiteral("screengrab")); + scr.setDesktopFileName(QStringLiteral("screengrab")); Core *ScreenGrab = Core::instance(); ScreenGrab->modules()->initModules(); ScreenGrab->processCmdLineOpts(scr.arguments());