Browse Source

fix format

nce_cpp
Jonas Gutenschwager 3 years ago
parent
commit
0a1e70f431
  1. 3
      src/yuzu/configuration/config.cpp
  2. 3
      src/yuzu/hotkeys.cpp

3
src/yuzu/configuration/config.cpp

@ -756,8 +756,7 @@ void Config::ReadShortcutValues() {
{ReadSetting(QStringLiteral("KeySeq"), shortcut.keyseq).toString(),
ReadSetting(QStringLiteral("Controller_KeySeq"), shortcut.controller_keyseq)
.toString(),
shortcut.context,
ReadSetting(QStringLiteral("Repeat"), shortcut.repeat).toBool()}});
shortcut.context, ReadSetting(QStringLiteral("Repeat"), shortcut.repeat).toBool()}});
qt_config->endGroup();
qt_config->endGroup();
}

3
src/yuzu/hotkeys.cpp

@ -21,8 +21,7 @@ void HotkeyRegistry::SaveHotkeys() {
{hotkey.first, group.first,
UISettings::ContextualShortcut({hotkey.second.keyseq.toString(),
hotkey.second.controller_keyseq,
hotkey.second.context,
hotkey.second.repeat})});
hotkey.second.context, hotkey.second.repeat})});
}
}
}

Loading…
Cancel
Save