mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-27 00:00:38 +00:00
Fix icon for Wayland
This commit is contained in:
parent
698e18e2eb
commit
7f72a3e9ff
@ -6,7 +6,7 @@ Exec=jellyfinmediaplayer
|
||||
Icon=com.github.iwalton3.jellyfin-media-player
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupWMClass=jellyfinmediaplayer
|
||||
StartupWMClass=com.github.iwalton3.jellyfin-media-player
|
||||
Categories=AudioVideo;Video;Player;TV;
|
||||
|
||||
Actions=DesktopF;DesktopW;TVF;TVW
|
||||
|
@ -178,6 +178,8 @@ int main(int argc, char *argv[])
|
||||
#if defined(Q_OS_LINUX)
|
||||
// Set window icon on Linux using system icon theme
|
||||
app.setWindowIcon(QIcon::fromTheme("com.github.iwalton3.jellyfin-media-player", QIcon(":/images/icon.png")));
|
||||
// Set app id for Wayland compositor window icon
|
||||
app.setDesktopFileName("com.github.iwalton3.jellyfin-media-player");
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_MAC) && defined(NDEBUG)
|
||||
|
Loading…
Reference in New Issue
Block a user