summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/hotkeys.cpp
diff options
context:
space:
mode:
authorLittleWhite <lw.demoscene@googlemail.com>2016-01-24 21:54:04 +0100
committerLittleWhite <lw.demoscene@googlemail.com>2016-03-22 21:53:43 +0100
commit3eb737a5f5b199fd3f9951a7060255f46011e9ff (patch)
treecc44971ba38dbb0a86929df09e7cd613e583e8a3 /src/citra_qt/hotkeys.cpp
parentWhole config is handled by Config class. (diff)
downloadyuzu-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.cpp7
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)));
}
}
}