summaryrefslogtreecommitdiffstats
path: root/src/widget/wslidercomposed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/wslidercomposed.cpp')
-rw-r--r--src/widget/wslidercomposed.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/widget/wslidercomposed.cpp b/src/widget/wslidercomposed.cpp
index a954dad852..a2c5aab587 100644
--- a/src/widget/wslidercomposed.cpp
+++ b/src/widget/wslidercomposed.cpp
@@ -49,8 +49,9 @@ WSliderComposed::WSliderComposed(QWidget * parent)
m_pHandle(nullptr),
m_renderTimer(mixxx::Duration::fromMillis(20),
mixxx::Duration::fromSeconds(1)) {
- connect(&m_renderTimer, SIGNAL(update()),
- this, SLOT(update()));
+ connect(&m_renderTimer, &WidgetRenderTimer::update, this, [this]() {
+ update();
+ });
}
WSliderComposed::~WSliderComposed() {