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.
This commit is contained in:
Lioncash 2019-05-25 03:53:41 -04:00
parent 82b996abf7
commit c227927751
3 changed files with 0 additions and 13 deletions

View file

@ -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();
}
}