This commit is contained in:
OBattler
2025-08-17 18:19:58 +02:00

View File

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