Replace setMargin with setContentsMargins

This commit is contained in:
Luis Ángel San Martín 2021-10-01 20:34:18 +02:00
parent 5e1e0b1d4a
commit 8207f75297

View File

@ -55,7 +55,7 @@ YACReaderSlider::YACReaderSlider(QWidget *parent)
pLayout->addWidget(resetButton, 1, Qt::AlignHCenter | Qt::AlignBottom);
pLayout->setSpacing(elementsSpacing);
pLayout->setMargin(0);
pLayout->setContentsMargins(0, 0, 0, 0);
setLayout(pLayout);
setAutoFillBackground(false);