LibreVNA-GUI: Remove obsolete 'setMargin' calls

This commit is contained in:
Alexander Voronov 2023-03-24 22:52:21 +03:00
parent 714953f8aa
commit daf7218cfd
2 changed files with 0 additions and 2 deletions

View File

@ -1473,7 +1473,6 @@ QWidget *Marker::getTypeEditor(QAbstractItemDelegate *delegate)
layout->addWidget(c); layout->addWidget(c);
c->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); c->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
layout->setContentsMargins(0,0,0,0); layout->setContentsMargins(0,0,0,0);
layout->setMargin(0);
layout->setSpacing(0); layout->setSpacing(0);
layout->addWidget(new QLabel("to")); layout->addWidget(new QLabel("to"));
auto deltaChooser = new QComboBox; auto deltaChooser = new QComboBox;

View File

@ -38,7 +38,6 @@ void ModeWindow::SetupUi()
auto cornerWidget = new QWidget(); auto cornerWidget = new QWidget();
cornerWidget->setLayout(new QHBoxLayout); cornerWidget->setLayout(new QHBoxLayout);
cornerWidget->layout()->setSpacing(0); cornerWidget->layout()->setSpacing(0);
cornerWidget->layout()->setMargin(0);
cornerWidget->layout()->setContentsMargins(0,0,0,0); cornerWidget->layout()->setContentsMargins(0,0,0,0);
cornerWidget->setMaximumHeight(aw->menuBar()->height()); cornerWidget->setMaximumHeight(aw->menuBar()->height());