From 6be752e163e2caedc4ff8f9ae4fd637d8eefcdc2 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 19 Dec 2021 22:54:50 +0100 Subject: [PATCH] Set the app_id on wayland --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 5a2cb413..b87e50ff 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -209,6 +209,11 @@ main(int argc, char *argv[]) #if !defined(Q_OS_MAC) app.setWindowIcon(QIcon::fromTheme("nheko", QIcon{":/logos/nheko.png"})); #endif + if (userdata.isEmpty() || userdata == "default") + app.setDesktopFileName("nheko"); + else + app.setDesktopFileName("nheko[" + userdata + "]"); + http::init(); createStandardDirectory(QStandardPaths::CacheLocation);