mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Set the app_id on wayland
This commit is contained in:
parent
9b25ef3c0d
commit
6be752e163
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue