From fafc6dc264a5618b2e4571d03fe498c622f4416d Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Tue, 27 Jun 2023 08:42:57 +0200 Subject: [PATCH] rm unused capture --- GUI/View/Main/ActionManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI/View/Main/ActionManager.cpp b/GUI/View/Main/ActionManager.cpp index cc9584a4d8b..89503def600 100644 --- a/GUI/View/Main/ActionManager.cpp +++ b/GUI/View/Main/ActionManager.cpp @@ -247,7 +247,7 @@ void ActionManager::onAboutToShowSettingsMenu() radioButton->setStyleSheet(""); action->setDefaultWidget(radioButton); radioButton->setChecked(appSettings->currentStyle() == style); - connect(radioButton, &QRadioButton::toggled, this, [this, style]() { + connect(radioButton, &QRadioButton::toggled, this, [style]() { appSettings->setStyleToUse(style); appSettings->loadStyle(style); }); -- GitLab