fix format
This commit is contained in:
parent
83754e4789
commit
887ed5c0e2
2 changed files with 2 additions and 4 deletions
|
@ -756,8 +756,7 @@ void Config::ReadShortcutValues() {
|
||||||
{ReadSetting(QStringLiteral("KeySeq"), shortcut.keyseq).toString(),
|
{ReadSetting(QStringLiteral("KeySeq"), shortcut.keyseq).toString(),
|
||||||
ReadSetting(QStringLiteral("Controller_KeySeq"), shortcut.controller_keyseq)
|
ReadSetting(QStringLiteral("Controller_KeySeq"), shortcut.controller_keyseq)
|
||||||
.toString(),
|
.toString(),
|
||||||
shortcut.context,
|
shortcut.context, ReadSetting(QStringLiteral("Repeat"), shortcut.repeat).toBool()}});
|
||||||
ReadSetting(QStringLiteral("Repeat"), shortcut.repeat).toBool()}});
|
|
||||||
qt_config->endGroup();
|
qt_config->endGroup();
|
||||||
qt_config->endGroup();
|
qt_config->endGroup();
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,7 @@ void HotkeyRegistry::SaveHotkeys() {
|
||||||
{hotkey.first, group.first,
|
{hotkey.first, group.first,
|
||||||
UISettings::ContextualShortcut({hotkey.second.keyseq.toString(),
|
UISettings::ContextualShortcut({hotkey.second.keyseq.toString(),
|
||||||
hotkey.second.controller_keyseq,
|
hotkey.second.controller_keyseq,
|
||||||
hotkey.second.context,
|
hotkey.second.context, hotkey.second.repeat})});
|
||||||
hotkey.second.repeat})});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue