Set the app_id on wayland

v0.9.1-fixes
Nicolas Werner 3 years ago
parent 9b25ef3c0d
commit 6be752e163
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 5
      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);

Loading…
Cancel
Save