mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-04 14:02:45 +01:00
Merge pull request #12521 from ReillyBrogan/fix-wayland-appid
Fix Wayland appId
This commit is contained in:
commit
6c6cb5745f
1 changed files with 4 additions and 0 deletions
|
@ -5342,6 +5342,10 @@ int main(int argc, char* argv[]) {
|
||||||
if (QString::fromLocal8Bit(qgetenv("DISPLAY")).isEmpty()) {
|
if (QString::fromLocal8Bit(qgetenv("DISPLAY")).isEmpty()) {
|
||||||
qputenv("DISPLAY", ":0");
|
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
|
#endif
|
||||||
|
|
||||||
SetHighDPIAttributes();
|
SetHighDPIAttributes();
|
||||||
|
|
Loading…
Reference in a new issue