Gui: Address review comments

This commit is contained in:
Chris Hennes
2025-09-17 15:45:07 -05:00
parent dffdb35f25
commit 850eccb5f8
2 changed files with 19 additions and 0 deletions

View File

@@ -135,7 +135,12 @@ DlgVersionMigrator::DlgVersionMigrator(MainWindow *mw) :
tr("Share configuration between versions") + QStringLiteral("</a>");
setWindowTitle(programNameString);
#ifdef Q_OS_MACOS
// macOS does not show the window title on modals, so add the extra label
ui->welcomeLabel->setText(welcomeString);
#else
ui->welcomeLabel->hide();
#endif
ui->sizeLabel->setText(calculatingSizeString);
connect(ui->copyButton, &QPushButton::clicked, this, &DlgVersionMigrator::migrate);
@@ -148,6 +153,7 @@ DlgVersionMigrator::DlgVersionMigrator(MainWindow *mw) :
ui->menuButton->setMenu(menu);
ui->menuButton->setPopupMode(QToolButton::InstantPopup);
ui->menuButton->setStyleSheet(QStringLiteral("QToolButton::menu-indicator { image: none; width: 0px; }"));
ui->menuButton->setProperty("flat", true);
connect(share, &QAction::triggered, this, &DlgVersionMigrator::share);
connect(reset, &QAction::triggered, this, &DlgVersionMigrator::freshStart);
}

View File

@@ -66,6 +66,19 @@
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>