summaryrefslogtreecommitdiffstats
path: root/src/widget/wspinny.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/wspinny.cpp')
-rw-r--r--src/widget/wspinny.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/widget/wspinny.cpp b/src/widget/wspinny.cpp
index c59ad60597..1a5272d158 100644
--- a/src/widget/wspinny.cpp
+++ b/src/widget/wspinny.cpp
@@ -199,8 +199,7 @@ void WSpinny::setup(const QDomNode& node, const SkinContext& context) {
m_pSlipEnabled = new ControlProxy(
m_group, "slip_enabled", this);
- m_pSlipEnabled->connectValueChanged(
- SLOT(updateSlipEnabled(double)));
+ m_pSlipEnabled->connectValueChanged(this, &WSpinny::updateSlipEnabled);
#ifdef __VINYLCONTROL__
m_pVinylControlSpeedType = new ControlProxy(
@@ -210,18 +209,18 @@ void WSpinny::setup(const QDomNode& node, const SkinContext& context) {
m_pVinylControlEnabled = new ControlProxy(
m_group, "vinylcontrol_enabled", this);
- m_pVinylControlEnabled->connectValueChanged(
- SLOT(updateVinylControlEnabled(double)));
+ m_pVinylControlEnabled->connectValueChanged(this,
+ &WSpinny::updateVinylControlEnabled);
m_pSignalEnabled = new ControlProxy(
m_group, "vinylcontrol_signal_enabled", this);
- m_pSignalEnabled->connectValueChanged(
- SLOT(updateVinylControlSignalEnabled(double)));
+ m_pSignalEnabled->connectValueChanged(this,
+ &WSpinny::updateVinylControlSignalEnabled);
// Match the vinyl control's set RPM so that the spinny widget rotates at
// the same speed as your physical decks, if you're using vinyl control.
- m_pVinylControlSpeedType->connectValueChanged(
- SLOT(updateVinylControlSpeed(double)));
+ m_pVinylControlSpeedType->connectValueChanged(this,
+ &WSpinny::updateVinylControlSpeed);
#else