citra-qt: Fixed reloading hotkeys on-the fly.

This commit is contained in:
Adityarup Laha 2018-11-16 21:19:43 +05:30
parent 5fa25fcf13
commit 9615acb550
No known key found for this signature in database
GPG key ID: 1B24048A1F78845F
3 changed files with 1 additions and 5 deletions

View file

@ -26,8 +26,6 @@ ConfigureDialog::ConfigureDialog(QWidget* parent, const HotkeyRegistry& registry
&ConfigureHotkeys::OnInputKeysChanged);
connect(ui->hotkeysTab, &ConfigureHotkeys::HotkeysChanged, ui->inputTab,
&ConfigureInput::OnHotkeysChanged);
connect(ui->hotkeysTab, &ConfigureHotkeys::HotkeysChanged, this,
[this]() { emit UpdateHotkeys(); });
// Synchronise lists upon initialisation
ui->inputTab->EmitInputKeysChanged();

View file

@ -29,7 +29,6 @@ private slots:
signals:
void languageChanged(const QString& locale);
void UpdateHotkeys();
private:
void setConfiguration();