mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-10-17 16:00:12 +02:00
RMG-Input: only capture required variables in signal lambdas
This commit is contained in:
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);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user