diff options
author | LittleWhite <lw.demoscene@googlemail.com> | 2016-01-24 21:54:04 +0100 |
---|---|---|
committer | LittleWhite <lw.demoscene@googlemail.com> | 2016-03-22 21:53:43 +0100 |
commit | 3eb737a5f5b199fd3f9951a7060255f46011e9ff (patch) | |
tree | cc44971ba38dbb0a86929df09e7cd613e583e8a3 /src/citra_qt/hotkeys.cpp | |
parent | Whole config is handled by Config class. (diff) | |
download | yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.gz yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.bz2 yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.lz yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.xz yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.zst yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.zip |
Diffstat (limited to 'src/citra_qt/hotkeys.cpp')
-rw-r--r-- | src/citra_qt/hotkeys.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/citra_qt/hotkeys.cpp b/src/citra_qt/hotkeys.cpp index 92525d53c..41f95c63d 100644 --- a/src/citra_qt/hotkeys.cpp +++ b/src/citra_qt/hotkeys.cpp @@ -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))); } } } |