Minor updates.

This commit is contained in:
Christoph Holzheuer
2026-03-06 17:36:27 +01:00
parent f99c96a855
commit 2192910e8e
6 changed files with 6 additions and 77 deletions

View File

@@ -32,7 +32,6 @@
#include <QPushButton>
#include <bcvaluesliderstyle.h>
#include <bcvalueslider.h>
@@ -42,7 +41,8 @@ BCValueSlider::BCValueSlider( QWidget *parent )
setupUi(this);
// wir wollen ja modern sein
_slider->setStyle(new BCValueSliderStyle());
_sliderStyle = std::make_unique<BCValueSliderStyle>();
_slider->setStyle(_sliderStyle.get());
setAutoFillBackground(true);
QSizePolicy sp = _commitButton->sizePolicy();