mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-09 15:59:08 +01:00
main: reword inhibit reason
This commit is contained in:
parent
fa7abafa5f
commit
14fc1bec17
1 changed files with 3 additions and 2 deletions
|
@ -1250,9 +1250,10 @@ static std::optional<QDBusObjectPath> HoldWakeLockLinux(u32 window_id = 0) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
QVariantMap options = {};
|
QVariantMap options = {};
|
||||||
//: TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping
|
//: TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the
|
||||||
|
//: computer from sleeping
|
||||||
options.insert(QString::fromLatin1("reason"),
|
options.insert(QString::fromLatin1("reason"),
|
||||||
QCoreApplication::translate("GMainWindow", "yuzu is emulating a game"));
|
QCoreApplication::translate("GMainWindow", "yuzu is running a game"));
|
||||||
// 0x4: Suspend lock; 0x8: Idle lock
|
// 0x4: Suspend lock; 0x8: Idle lock
|
||||||
QDBusReply<QDBusObjectPath> reply =
|
QDBusReply<QDBusObjectPath> reply =
|
||||||
xdp.call(QString::fromLatin1("Inhibit"),
|
xdp.call(QString::fromLatin1("Inhibit"),
|
||||||
|
|
Loading…
Reference in a new issue