diff options
author | Be <be@mixxx.org> | 2019-01-05 16:06:29 -0600 |
---|---|---|
committer | Be <be@mixxx.org> | 2019-01-06 00:24:59 -0600 |
commit | 2ab7121f08fe12b628848720bb432af43aca0175 (patch) | |
tree | afc0d8c9a6cdfd5a352241229a94e38fe82cbe50 /src/effects/effectparameterslot.cpp | |
parent | f161b34ae71be5c24496c193bcbd8d296c60997e (diff) |
remove need for lambdas with connectValueChange(Request)
and remove old SLOT syntax for
ControlProxy::connectValueChangeRequest. That was easier than
getting it to play nice with the templating required for the
new functor syntax.
Diffstat (limited to 'src/effects/effectparameterslot.cpp')
-rw-r--r-- | src/effects/effectparameterslot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/effectparameterslot.cpp b/src/effects/effectparameterslot.cpp index 7650aa2a47..d229d34176 100644 --- a/src/effects/effectparameterslot.cpp +++ b/src/effects/effectparameterslot.cpp @@ -31,7 +31,7 @@ EffectParameterSlot::EffectParameterSlot(const QString& group, const unsigned in m_pControlLinkType->setStates( static_cast<double>(EffectManifestParameter::LinkType::NUM_LINK_TYPES)); m_pControlLinkType->connectValueChangeRequest( - this, [=](double value){slotLinkTypeChanging(value);}); + this, &EffectParameterSlot::slotLinkTypeChanging); m_pControlLinkInverse = new ControlPushButton( ConfigKey(m_group, itemPrefix + QString("_link_inverse"))); |