mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 11:35:56 +00:00
fix: minimize on mac
This commit is contained in:
parent
9a88644708
commit
723887c9ed
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ Dialog::~Dialog()
|
|||
void Dialog::initUI()
|
||||
{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
setWindowFlags(windowFlags() | Qt::WindowMinimizeButtonHint);
|
||||
setWindowFlags(windowFlags() | Qt::WindowMinimizeButtonHint | Qt::WindowCloseButtonHint | Qt::CustomizeWindowHint);
|
||||
|
||||
ui->bitRateBox->addItem("2000000");
|
||||
ui->bitRateBox->addItem("6000000");
|
||||
|
|
Loading…
Add table
Reference in a new issue