[VDE] Fix Qt warnings in log

This commit is contained in:
RickyRister 2026-02-15 22:35:07 -08:00
parent bdb42bbbbd
commit a70ee79601
2 changed files with 2 additions and 3 deletions

View file

@ -12,7 +12,6 @@ PrintingDisabledInfoWidget::PrintingDisabledInfoWidget(QWidget *parent) : QWidge
{
auto layout = new QVBoxLayout(this);
layout->setObjectName("PrintingDisabledInfoWidgetFrame");
setLayout(layout);
QLabel *imageLabel = new QLabel(this);
imageLabel->setAlignment(Qt::AlignCenter);
@ -26,7 +25,7 @@ PrintingDisabledInfoWidget::PrintingDisabledInfoWidget(QWidget *parent) : QWidge
settingsButton = new QPushButton(this);
connect(settingsButton, &QPushButton::clicked, this, &PrintingDisabledInfoWidget::disableOverridePrintings);
auto buttonLayout = new QHBoxLayout(this);
auto buttonLayout = new QHBoxLayout();
buttonLayout->addStretch();
buttonLayout->addWidget(settingsButton);
buttonLayout->addStretch();

View file

@ -19,7 +19,7 @@ VisualDeckEditorSampleHandWidget::VisualDeckEditorSampleHandWidget(QWidget *pare
layout->setSpacing(0);
setLayout(layout);
auto upperLayout = new QVBoxLayout(this);
auto upperLayout = new QVBoxLayout();
upperLayout->setContentsMargins(0, 0, 0, 0);
upperLayout->setSpacing(0);