Skip to content

Commit

Permalink
Merge PR #5536: 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
Krzmbrzl committed Jan 31, 2022
2 parents 252da9b + fa88a20 commit 5be8b69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mumble/main.cpp
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 5be8b69

Please sign in to comment.