diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-01 23:50:31 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-01 23:51:38 +0100 |
commit | e8c0b30ff2db91c60b26b90054c16b22dca28956 (patch) | |
tree | 3e94f2574016382b12cd03713378ae4d8cec01c0 /gui | |
parent | 5ae2ca85c41757dd72bd8651cfddfada517b30e3 (diff) |
fix some GCC warnings
Diffstat (limited to 'gui')
-rw-r--r-- | gui/options-dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp index ac4117bc..9cd416ee 100644 --- a/gui/options-dialog.cpp +++ b/gui/options-dialog.cpp @@ -172,7 +172,7 @@ options_dialog::options_dialog(std::unique_ptr<ITrackerDialog>& tracker_dialog_, val.label, [=](const QString&) { val.label->setText(kopts_to_string(val.opt)); }); { - connect(val.button, &QPushButton::clicked, this, [=] { bind_key(val.opt, val.label); }); + connect(val.button, &QPushButton::clicked, this, [=, this] { bind_key(val.opt, val.label); }); } } |