1
0
Fork 0
forked from suyu/suyu

Merge pull request #12521 from ReillyBrogan/fix-wayland-appid

Fix Wayland appId
This commit is contained in:
liamwhite 2023-12-30 14:58:52 -05:00 committed by GitHub
commit 6c6cb5745f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5342,6 +5342,10 @@ int main(int argc, char* argv[]) {
if (QString::fromLocal8Bit(qgetenv("DISPLAY")).isEmpty()) {
qputenv("DISPLAY", ":0");
}
// Fix the Wayland appId. This needs to match the name of the .desktop file without the .desktop
// suffix.
QGuiApplication::setDesktopFileName(QStringLiteral("org.yuzu_emu.yuzu"));
#endif
SetHighDPIAttributes();