diff --git a/GUI/View/Main/ActionManager.cpp b/GUI/View/Main/ActionManager.cpp
index cc9584a4d8bb9fd5d935238cef1c75307c03221e..89503def60087976ae0201e772855abed4973439 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);
         });