Add more stuff to configure.

This commit is contained in:
LittleWhite 2016-01-24 21:54:04 +01:00
parent e33b938505
commit 3eb737a5f5
15 changed files with 211 additions and 120 deletions

View file

@ -32,9 +32,10 @@ void SaveHotkeys()
{
for (auto hotkey : group.second)
{
UISettings::values.shortcuts.push_back(UISettings::Shortcut(group.first + "/" + hotkey.first,
UISettings::ContextedShortcut(hotkey.second.keyseq.toString(),
hotkey.second.context)));
UISettings::values.shortcuts.emplace_back(
UISettings::Shortcut(group.first + "/" + hotkey.first,
UISettings::ContextualShortcut(hotkey.second.keyseq.toString(),
hotkey.second.context)));
}
}
}