summaryrefslogtreecommitdiffstats
path: root/src/control/control.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/control/control.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/control/control.cpp')
-rw-r--r--src/control/control.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/control/control.cpp b/src/control/control.cpp
index 2a29d83f90..f78f6b85a0 100644
--- a/src/control/control.cpp
+++ b/src/control/control.cpp
@@ -256,11 +256,3 @@ double ControlDoublePrivate::getMidiParameter() const {
}
return pBehavior->valueToMidiParameter(get());
}
-
-bool ControlDoublePrivate::connectValueChangeRequest(const QObject* receiver,
- std::function<void(double)> method, Qt::ConnectionType type) {
- // confirmation is only required if connect was successful
- m_confirmRequired = connect(this, &ControlDoublePrivate::valueChangeRequest,
- receiver, method, type);
- return m_confirmRequired;
-}