summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar liushuyu2021-12-22 02:26:17 -0700
committerGravatar liushuyu2021-12-22 02:33:01 -0700
commit14fc1bec1798e1bbd5f5a169965fea073cc80b41 (patch)
tree8e0d745c80ccbdf5d3e9e33d07dbf0cc670f4446 /src
parentmain: fix wake lock in Flatpak ... (diff)
downloadyuzu-14fc1bec1798e1bbd5f5a169965fea073cc80b41.tar.gz
yuzu-14fc1bec1798e1bbd5f5a169965fea073cc80b41.tar.xz
yuzu-14fc1bec1798e1bbd5f5a169965fea073cc80b41.zip
main: reword inhibit reason
Diffstat (limited to '')
-rw-r--r--src/yuzu/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 975f6dd11..1e02d715b 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1250,9 +1250,10 @@ static std::optional<QDBusObjectPath> HoldWakeLockLinux(u32 window_id = 0) {
1250 return {}; 1250 return {};
1251 } 1251 }
1252 QVariantMap options = {}; 1252 QVariantMap options = {};
1253 //: TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping 1253 //: TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the
1254 //: computer from sleeping
1254 options.insert(QString::fromLatin1("reason"), 1255 options.insert(QString::fromLatin1("reason"),
1255 QCoreApplication::translate("GMainWindow", "yuzu is emulating a game")); 1256 QCoreApplication::translate("GMainWindow", "yuzu is running a game"));
1256 // 0x4: Suspend lock; 0x8: Idle lock 1257 // 0x4: Suspend lock; 0x8: Idle lock
1257 QDBusReply<QDBusObjectPath> reply = 1258 QDBusReply<QDBusObjectPath> reply =
1258 xdp.call(QString::fromLatin1("Inhibit"), 1259 xdp.call(QString::fromLatin1("Inhibit"),