diff options
| author | 2023-12-30 14:58:52 -0500 | |
|---|---|---|
| committer | 2023-12-30 14:58:52 -0500 | |
| commit | 6c6cb5745ffc197b44b83a8e6393d237021dc846 (patch) | |
| tree | 8fb1c6288fca29cccaacecde8f7e2d6b944271c9 /src | |
| parent | Merge pull request #12520 from t895/settings-tomfoolery (diff) | |
| parent | Fix Wayland appId (diff) | |
| download | yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.tar.gz yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.tar.xz yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.zip | |
Merge pull request #12521 from ReillyBrogan/fix-wayland-appid
Fix Wayland appId
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 059fcf041..c789c1e59 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -5342,6 +5342,10 @@ int main(int argc, char* argv[]) { | |||
| 5342 | if (QString::fromLocal8Bit(qgetenv("DISPLAY")).isEmpty()) { | 5342 | if (QString::fromLocal8Bit(qgetenv("DISPLAY")).isEmpty()) { |
| 5343 | qputenv("DISPLAY", ":0"); | 5343 | qputenv("DISPLAY", ":0"); |
| 5344 | } | 5344 | } |
| 5345 | |||
| 5346 | // Fix the Wayland appId. This needs to match the name of the .desktop file without the .desktop | ||
| 5347 | // suffix. | ||
| 5348 | QGuiApplication::setDesktopFileName(QStringLiteral("org.yuzu_emu.yuzu")); | ||
| 5345 | #endif | 5349 | #endif |
| 5346 | 5350 | ||
| 5347 | SetHighDPIAttributes(); | 5351 | SetHighDPIAttributes(); |