Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wayland: Fix appId #1100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion other/io.github.antimicrox.antimicrox.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Categories=Game;Qt;Utility;
MimeType=application/x-amgp;
Keywords=game;controller;keyboard;joystick;mouse;
Actions=run-in-tray;
StartupWMClass=antimicrox

[Desktop Action run-in-tray]
Name=Open in system tray only
Expand Down
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,9 @@ int main(int argc, char *argv[])
QTranslator qtTranslator;

#if defined(Q_OS_UNIX)
// Ensure that the Wayland appId matches the .desktop file name
QGuiApplication::setDesktopFileName("io.github.antimicrox.antimicrox");

installSignalHandlers();

QString transPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
Expand Down