From 7fb67cff3fb9d54787995683f56b6227d1c992bf Mon Sep 17 00:00:00 2001 From: Hane Date: Sun, 13 Aug 2023 18:31:34 +0200 Subject: [PATCH] forgot todo --- src/qt/qtclasses.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qt/qtclasses.cpp b/src/qt/qtclasses.cpp index 79da832..cdcb988 100644 --- a/src/qt/qtclasses.cpp +++ b/src/qt/qtclasses.cpp @@ -62,6 +62,7 @@ EndpointWidget::EndpointWidget(EndpointHandler* eph, QWidget *parent) : QWidget( this->channelLabels.push_back(tmpLb); layout->addWidget(tmp, 1, i); layout->addWidget(tmpLb, 2, i); + //TODO: check if there's a need to prevent deadlocks; probably this will eventually turn into its own func connect(tmp, &QSlider::valueChanged, [this, i](int newValue){ this->eph->setVolume(osh->getGuid(), i, newValue); this->channelLabels.at(i)->setText(QString::number(newValue)); }); }