diff --git a/QtScrcpy/dialog.ui b/QtScrcpy/dialog.ui index e96930c..a2b8cea 100644 --- a/QtScrcpy/dialog.ui +++ b/QtScrcpy/dialog.ui @@ -6,19 +6,19 @@ 0 0 - 560 - 577 + 502 + 600 - 560 + 502 0 - 560 + 502 16777215 diff --git a/QtScrcpy/videoform.cpp b/QtScrcpy/videoform.cpp index 0e16338..b300a6e 100644 --- a/QtScrcpy/videoform.cpp +++ b/QtScrcpy/videoform.cpp @@ -79,11 +79,13 @@ void VideoForm::initUI() } setAttribute(Qt::WA_DeleteOnClose); + // TODO mac: Qt::FramelessWindowHit full screen is abnormal +#ifndef Q_OS_OSX // 去掉标题栏 - setWindowFlags(Qt::FramelessWindowHint); + setWindowFlags(Qt::FramelessWindowHint); // 根据图片构造异形窗口 setAttribute(Qt::WA_TranslucentBackground); - +#endif setMouseTracking(true); ui->loadingWidget->setAttribute(Qt::WA_DeleteOnClose); ui->videoWidget->setMouseTracking(true); diff --git a/TODO.txt b/TODO.txt index 2b37e73..fb7fb64 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,3 +1,5 @@ +// TODO mac: Qt::FramelessWindowHit full screen is abnormal + չģָȣ ģָ(ע⣺Ͷû)