window:允许最大化。

This commit is contained in:
2025-11-08 18:35:46 +08:00
parent a4d9a5acb2
commit f8bbf02e04

View File

@@ -33,7 +33,7 @@ frelayGUI::frelayGUI(QWidget* parent) : QDialog(parent), ui(new Ui::frelayGUI)
resize(width, height);
setWindowTitle(Util::GetVersion());
setWindowFlags(windowFlags() | Qt::WindowMinimizeButtonHint);
setWindowFlags(windowFlags() | Qt::WindowMinMaxButtonsHint);
// QLabel* permanent = new QLabel(this);
// permanent->setFrameStyle(QFrame::Box | QFrame::Sunken);