ObjectListWidget: pass context object to connect lambda

Dieser Commit ist enthalten in:
Filippo Gentile 2023-03-25 12:58:45 +01:00
Ursprung e304e2162f
Commit fa48b06871

Datei anzeigen

@ -294,7 +294,7 @@ ObjectListWidget::ObjectListWidget(const ObjectPtr& object, QWidget* parent) :
else
text = value.toString();
menu->addAction(text,
menu->addAction(text, this,
[this, channel=value.toUInt()]()
{
//cancelRequest(m_requestIdInputMonitor);
@ -348,7 +348,7 @@ ObjectListWidget::ObjectListWidget(const ObjectPtr& object, QWidget* parent) :
else
text = value.toString();
menu->addAction(text,
menu->addAction(text, this,
[this, channel=value.toUInt()]()
{
//cancelRequest(m_requestIdOutputKeyboard);