Skip to content
Snippets Groups Projects
Verified Commit 6be752e1 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Set the app_id on wayland

parent 9b25ef3c
No related branches found
No related tags found
No related merge requests found
Pipeline #2326 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment