[client] bugfix: property signal wasn't linked to receiver lifetime
Dieser Commit ist enthalten in:
Ursprung
10ed59404c
Commit
30adef9e29
@ -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)
|
||||
|
||||
@ -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();
|
||||
|
||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren