Replaced deprecated QLayout::setMargins by QLayout::setContentsMargins

This commit is contained in:
thunder2 2025-07-20 03:05:02 +02:00
parent 33fc4308c4
commit 90041fc627
19 changed files with 21 additions and 21 deletions

View file

@ -80,7 +80,7 @@ void LogoBar::init() {
);
QGridLayout * layout = new QGridLayout(this);
layout->setMargin(0);
layout->setContentsMargins(0, 0, 0, 0);
layout->setSpacing(0);
layout->addWidget(FillLabel1, 0, 0);