From f02b26f6813c8120f15d79ad7102a1611c32f008 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Thu, 29 Jan 2026 19:57:07 +0100 Subject: [PATCH] Core: set QT_DESKTOP_FILE_NAME early for portals --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 82a72c3..53e7e25 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2026 A-La-Karte Contributors +#include #include #include #include @@ -18,6 +19,7 @@ int main(int argc, char *argv[]) { + qputenv("QT_DESKTOP_FILE_NAME", QByteArray("org.kde.alakarte")); QGuiApplication app(argc, argv); QGuiApplication::setDesktopFileName(QStringLiteral("org.kde.alakarte"));