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.
ControlObjectSc ript::addScript Connection creates 2 connections:
- connect( m_pControl. data(), &ControlDoubleP rivate: :valueChanged, this, &ControlObjectS cript:: slotValueChange d, Qt::QueuedConne ction);
- connect(this, &ControlObjectS cript:: trigger, this &ControlObjectS cript:: slotValueChange d, Qt::QueuedConne ction);
The first of them causes 1 of the 2 output messages.
The EffectButtonPar ameterSlot constructor creates 1 connection:
- connect( m_pControlValue , &ControlObject: :valueChanged, this, &EffectButtonPa rameterSlot: :slotValueChang ed);
This connection causes the other output message.