[client] bugfix: property signal wasn't linked to receiver lifetime

Dieser Commit ist enthalten in:
Reinder Feenstra 2026-02-08 22:48:26 +01:00
Ursprung 10ed59404c
Commit 30adef9e29
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -41,7 +41,7 @@ PropertyPairOutputAction::PropertyPairOutputAction(Property& property, QWidget*
{
update(rect());
});
connect(&m_property, &Property::attributeChanged,
connect(&m_property, &Property::attributeChanged, this,
[this](AttributeName name, const QVariant& value)
{
switch(name)

Datei anzeigen

@ -83,7 +83,7 @@ PropertySpinBox::PropertySpinBox(Property& property, QWidget* parent) :
break;
}
});
connect(this, QOverload<int>::of(&PropertySpinBox::valueChanged),
connect(this, QOverload<int>::of(&PropertySpinBox::valueChanged), this,
[this](int value)
{
cancelRequest();