Skip to content

Commit

Permalink
fix: minimize on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
rankun committed Jun 6, 2020
1 parent 9a88644 commit 723887c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QtScrcpy/dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 723887c

Please sign in to comment.