Set the app_id on wayland

This commit is contained in:
Nicolas Werner 2021-12-19 22:54:50 +01:00
parent 9b25ef3c0d
commit 6be752e163
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -209,6 +209,11 @@ main(int argc, char *argv[])
#if !defined(Q_OS_MAC) #if !defined(Q_OS_MAC)
app.setWindowIcon(QIcon::fromTheme("nheko", QIcon{":/logos/nheko.png"})); app.setWindowIcon(QIcon::fromTheme("nheko", QIcon{":/logos/nheko.png"}));
#endif #endif
if (userdata.isEmpty() || userdata == "default")
app.setDesktopFileName("nheko");
else
app.setDesktopFileName("nheko[" + userdata + "]");
http::init(); http::init();
createStandardDirectory(QStandardPaths::CacheLocation); createStandardDirectory(QStandardPaths::CacheLocation);