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

@ -27,7 +27,7 @@
QGridLayout * Widget::createLayout(QWidget * parent) {
QGridLayout * layout = new QGridLayout(parent);
layout->setSpacing(0);
layout->setMargin(0);
layout->setContentsMargins(0, 0, 0, 0);
return layout;
}