summaryrefslogtreecommitdiffstats
path: root/src/widget/controlwidgetconnection.cpp
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2019-01-05 16:06:29 -0600
committerBe <be@mixxx.org>2019-01-06 00:24:59 -0600
commit2ab7121f08fe12b628848720bb432af43aca0175 (patch)
treeafc0d8c9a6cdfd5a352241229a94e38fe82cbe50 /src/widget/controlwidgetconnection.cpp
parentf161b34ae71be5c24496c193bcbd8d296c60997e (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/widget/controlwidgetconnection.cpp')
-rw-r--r--src/widget/controlwidgetconnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/controlwidgetconnection.cpp b/src/widget/controlwidgetconnection.cpp
index c2c486f820..9348492034 100644
--- a/src/widget/controlwidgetconnection.cpp
+++ b/src/widget/controlwidgetconnection.cpp
@@ -13,7 +13,7 @@ ControlWidgetConnection::ControlWidgetConnection(
: m_pWidget(pBaseWidget),
m_pValueTransformer(pTransformer) {
m_pControl = new ControlProxy(key, this);
- m_pControl->connectValueChanged(SLOT(slotControlValueChanged(double)));
+ m_pControl->connectValueChanged(this, &ControlWidgetConnection::slotControlValueChanged);
}
void ControlWidgetConnection::setControlParameter(double parameter) {