Update aboutndd.cpp 隐藏最大化、最小化按钮

This commit is contained in:
woclass 2023-02-08 10:44:07 +08:00
parent 27926687bc
commit 642de93f05
No known key found for this signature in database
GPG Key ID: 9945259EC0248B62
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ AboutNdd::AboutNdd(QWidget *parent)
ui.setupUi(this);
ui.label->setOpenExternalLinks(true);
// 隐藏最大化、最小化按钮
setWindowFlags(windowFlags() & ~Qt::WindowMinMaxButtonsHint);
}
AboutNdd::~AboutNdd()