Skip to content

Commit

Permalink
FIX(client): Icon not used on Plasma Wayland session
Browse files Browse the repository at this point in the history
In a Plasma Wayland session the Mumble icon was not used in the task bar,
instead the generic Wayland icon shows up.
Setting the desktop file name resolves this.

Fixes #4851
  • Loading branch information
issue committed Jan 29, 2022
1 parent 252da9b commit fa88a20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mumble/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ int main(int argc, char **argv) {
a.setOrganizationDomain(QLatin1String("mumble.sourceforge.net"));
a.setQuitOnLastWindowClosed(false);

#if QT_VERSION >= 0x050700
a.setDesktopFileName("info.mumble.Mumble");
#endif

#if QT_VERSION >= 0x050100
a.setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
Expand Down

0 comments on commit fa88a20

Please sign in to comment.