diff options
| author | 2021-12-22 02:26:17 -0700 | |
|---|---|---|
| committer | 2021-12-22 02:33:01 -0700 | |
| commit | 14fc1bec1798e1bbd5f5a169965fea073cc80b41 (patch) | |
| tree | 8e0d745c80ccbdf5d3e9e33d07dbf0cc670f4446 /src | |
| parent | main: fix wake lock in Flatpak ... (diff) | |
| download | yuzu-14fc1bec1798e1bbd5f5a169965fea073cc80b41.tar.gz yuzu-14fc1bec1798e1bbd5f5a169965fea073cc80b41.tar.xz yuzu-14fc1bec1798e1bbd5f5a169965fea073cc80b41.zip | |
main: reword inhibit reason
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/main.cpp | 5 |
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"), |