Merge pull request #5980 from lemondrops/manager-6

Manager: only set fixed size for the new machine wizard on Windows
This commit is contained in:
Miran Grča
2025-08-17 17:07:09 +02:00
committed by GitHub

View File

@@ -58,9 +58,13 @@ VMManagerAddMachine(QWidget *parent) : QWizard(parent)
#endif
// Wizard wants to resize based on image. This keeps the size
#ifdef Q_OS_WINDOWS
setMinimumSize(QSize(550, size().height()));
setMaximumSize(QSize(550, size().height()));
setWindowFlag(Qt::MSWindowsFixedSizeDialogHint, true);
#else
setMinimumSize(size());
#endif
setOption(HaveHelpButton, false);
// setPixmap(LogoPixmap, QPixmap(":/settings/qt/icons/86Box-gray.ico"));