chore: Messages::showClientError remove unneeded capture from lambda
This commit is contained in:
parent
104d2facdb
commit
0501f2892d
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ void showClientConnectError(QWidget *parent, ClientError error, const QString &a
|
|||
|
||||
auto cbNoShowAgain = new QCheckBox(QObject::tr("Do not show this message again"));
|
||||
|
||||
QObject::connect(cbNoShowAgain, &QCheckBox::toggled, [&](bool enabled) {
|
||||
QObject::connect(cbNoShowAgain, &QCheckBox::toggled, [](bool enabled) {
|
||||
Settings::setValue(Settings::Gui::ShowGenericClientFailureDialog, !enabled);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue