summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_hotkeys.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-25 03:53:41 -0400
committerLioncash <mathew1800@gmail.com>2019-05-25 04:08:07 -0400
commitc03fb00ac142e27ba8d7e7cc1dde0539375b7d96 (patch)
treecc1a5ee67e9583368232dc44d5715a9e569c7ef7 /src/yuzu/configuration/configure_hotkeys.cpp
parent5d645c6dd9c32fe528d5e10538f1f0681ff8b332 (diff)
configure_hotkeys: Remove unused EmitHotkeysChanged()
1. This is something that should be solely emitted by the hotkey dialog itself 2. This is functionally unused, given there's nothing listening for the signal.
Diffstat (limited to 'src/yuzu/configuration/configure_hotkeys.cpp')
-rw-r--r--src/yuzu/configuration/configure_hotkeys.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/yuzu/configuration/configure_hotkeys.cpp b/src/yuzu/configuration/configure_hotkeys.cpp
index a7a8752e5..9155da4e8 100644
--- a/src/yuzu/configuration/configure_hotkeys.cpp
+++ b/src/yuzu/configuration/configure_hotkeys.cpp
@@ -31,10 +31,6 @@ ConfigureHotkeys::ConfigureHotkeys(QWidget* parent)
ConfigureHotkeys::~ConfigureHotkeys() = default;
-void ConfigureHotkeys::EmitHotkeysChanged() {
- emit HotkeysChanged(GetUsedKeyList());
-}
-
QList<QKeySequence> ConfigureHotkeys::GetUsedKeyList() const {
QList<QKeySequence> list;
for (int r = 0; r < model->rowCount(); r++) {
@@ -87,7 +83,6 @@ void ConfigureHotkeys::Configure(QModelIndex index) {
tr("You're using a key that's already bound."));
} else {
model->setData(index, key_sequence.toString(QKeySequence::NativeText));
- EmitHotkeysChanged();
}
}