diff options
| author | 2023-01-18 15:49:47 +0100 | |
|---|---|---|
| committer | 2023-01-18 15:49:47 +0100 | |
| commit | 887ed5c0e2afa0fe4ef373ee676e197e62570e66 (patch) | |
| tree | 93af8393b3657fd8f246ce80d2aa1257d4eb95ad /src | |
| parent | allow volume up/down hotkeys to be repeated (diff) | |
| download | yuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.tar.gz yuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.tar.xz yuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.zip | |
fix format
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/config.cpp | 3 | ||||
| -rw-r--r-- | src/yuzu/hotkeys.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp index 4a60bf9f3..fd3bb30e1 100644 --- a/src/yuzu/configuration/config.cpp +++ b/src/yuzu/configuration/config.cpp | |||
| @@ -756,8 +756,7 @@ void Config::ReadShortcutValues() { | |||
| 756 | {ReadSetting(QStringLiteral("KeySeq"), shortcut.keyseq).toString(), | 756 | {ReadSetting(QStringLiteral("KeySeq"), shortcut.keyseq).toString(), |
| 757 | ReadSetting(QStringLiteral("Controller_KeySeq"), shortcut.controller_keyseq) | 757 | ReadSetting(QStringLiteral("Controller_KeySeq"), shortcut.controller_keyseq) |
| 758 | .toString(), | 758 | .toString(), |
| 759 | shortcut.context, | 759 | shortcut.context, ReadSetting(QStringLiteral("Repeat"), shortcut.repeat).toBool()}}); |
| 760 | ReadSetting(QStringLiteral("Repeat"), shortcut.repeat).toBool()}}); | ||
| 761 | qt_config->endGroup(); | 760 | qt_config->endGroup(); |
| 762 | qt_config->endGroup(); | 761 | qt_config->endGroup(); |
| 763 | } | 762 | } |
diff --git a/src/yuzu/hotkeys.cpp b/src/yuzu/hotkeys.cpp index 091336528..6530186c1 100644 --- a/src/yuzu/hotkeys.cpp +++ b/src/yuzu/hotkeys.cpp | |||
| @@ -21,8 +21,7 @@ void HotkeyRegistry::SaveHotkeys() { | |||
| 21 | {hotkey.first, group.first, | 21 | {hotkey.first, group.first, |
| 22 | UISettings::ContextualShortcut({hotkey.second.keyseq.toString(), | 22 | UISettings::ContextualShortcut({hotkey.second.keyseq.toString(), |
| 23 | hotkey.second.controller_keyseq, | 23 | hotkey.second.controller_keyseq, |
| 24 | hotkey.second.context, | 24 | hotkey.second.context, hotkey.second.repeat})}); |
| 25 | hotkey.second.repeat})}); | ||
| 26 | } | 25 | } |
| 27 | } | 26 | } |
| 28 | } | 27 | } |