diff options
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/options-dialog.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp index 18b434c4..356d7cef 100644 --- a/gui/options-dialog.cpp +++ b/gui/options-dialog.cpp @@ -157,7 +157,7 @@ void OptionsDialog::bind_key(key_opts& kopts, QLabel* label)      connect(k,              &KeyboardListener::key_pressed,              this, -            [&](QKeySequence s) +            [&](const QKeySequence& s)              {                  kopts.keycode = s.toString(QKeySequence::PortableText);                  kopts.guid = ""; @@ -166,7 +166,7 @@ void OptionsDialog::bind_key(key_opts& kopts, QLabel* label)              });      connect(k, &KeyboardListener::joystick_button_pressed,              this, -            [&](QString guid, int idx, bool held) +            [&](const QString& guid, int idx, bool held)              {                  if (!held)                  { | 
