RMG-Input: only capture required variables in signal lambdas

This commit is contained in:
Rosalie Wanders committed 2025-10-17 21:34:32 +02:00
1 parent 30121f2db7
commit 2af46a43a6
4 files changed
+4 -4

No files matched your search

@@ -26,7 +26,7 @@ void RemoveMappingButton::Initialize(ControllerWidget* widget, MappingButton* bu
this->controllerWidget = widget;
this->mappingButton = button;
connect(this, &QPushButton::released, [=, this]
connect(this, &QPushButton::released, [this]
{
emit this->controllerWidget->on_RemoveMappingButton_Released(this->mappingButton);
});