mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-17 20:41:33 -07:00
[VDE] Fix Qt warnings in log (#6605)
* [VDE] Fix Qt warnings in log * fix button size
This commit is contained in:
parent
ef87b54b43
commit
a7bb5254a3
3 changed files with 3 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue