Comment 5 for bug 1945572

Revision history for this message
Christian (ubuntu-linux-user) wrote (last edit ):

ControlObjectScript::addScriptConnection creates 2 connections:

- connect(m_pControl.data(), &ControlDoublePrivate::valueChanged, this, &ControlObjectScript::slotValueChanged, Qt::QueuedConnection);

- connect(this, &ControlObjectScript::trigger, this &ControlObjectScript::slotValueChanged, Qt::QueuedConnection);

The first of them causes 1 of the 2 output messages.

The EffectButtonParameterSlot constructor creates 1 connection:

- connect(m_pControlValue, &ControlObject::valueChanged, this, &EffectButtonParameterSlot::slotValueChanged);

This connection causes the other output message.