mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-07 07:58:58 +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()
|
void Dialog::initUI()
|
||||||
{
|
{
|
||||||
setAttribute(Qt::WA_DeleteOnClose);
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
setWindowFlags(windowFlags() | Qt::WindowMinimizeButtonHint);
|
setWindowFlags(windowFlags() | Qt::WindowMinimizeButtonHint | Qt::WindowCloseButtonHint | Qt::CustomizeWindowHint);
|
||||||
|
|
||||||
ui->bitRateBox->addItem("2000000");
|
ui->bitRateBox->addItem("2000000");
|
||||||
ui->bitRateBox->addItem("6000000");
|
ui->bitRateBox->addItem("6000000");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue