[VDE] Fix Qt warnings in log (#6605)

* [VDE] Fix Qt warnings in log

* fix button size
This commit is contained in:
RickyRister 2026-02-18 23:32:56 -08:00 committed by GitHub
parent ef87b54b43
commit a7bb5254a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 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();