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/widget/wbeatspinbox.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/widget/wbeatspinbox.cpp')
-rw-r--r-- | src/widget/wbeatspinbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/wbeatspinbox.cpp b/src/widget/wbeatspinbox.cpp index 90d213cee7..17b142311c 100644 --- a/src/widget/wbeatspinbox.cpp +++ b/src/widget/wbeatspinbox.cpp @@ -27,7 +27,7 @@ WBeatSpinBox::WBeatSpinBox(QWidget* parent, const ConfigKey& configKey, setValue(m_valueControl.get()); connect(this, SIGNAL(valueChanged(double)), this, SLOT(slotSpinboxValueChanged(double))); - m_valueControl.connectValueChanged(SLOT(slotControlValueChanged(double))); + m_valueControl.connectValueChanged(this, &WBeatSpinBox::slotControlValueChanged); } void WBeatSpinBox::setup(const QDomNode& node, const SkinContext& context) { |