mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 09:33:57 -07:00
[VDE] Fix Qt warnings in log
This commit is contained in:
parent
bdb42bbbbd
commit
a70ee79601
2 changed files with 2 additions and 3 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();
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue