From de71c88b2429e491e43d6eafbed735e116668f7c Mon Sep 17 00:00:00 2001 From: Barry <870709864@qq.com> Date: Sun, 27 Jan 2019 20:02:17 +0800 Subject: [PATCH] =?UTF-8?q?update:=E7=BE=8E=E5=8C=96=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QtScrcpy/toolform.cpp | 4 ++-- QtScrcpy/toolform.ui | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/QtScrcpy/toolform.cpp b/QtScrcpy/toolform.cpp index ec6de4c..49678e8 100644 --- a/QtScrcpy/toolform.cpp +++ b/QtScrcpy/toolform.cpp @@ -10,8 +10,8 @@ ToolForm::ToolForm(QWidget* adsorbWidget, AdsorbPositions adsorbPos) , ui(new Ui::ToolForm) { ui->setupUi(this); - //setWindowFlags(windowFlags() | Qt::FramelessWindowHint); - setWindowFlags(windowFlags() & ~Qt::WindowMinMaxButtonsHint); + setWindowFlags(windowFlags() | Qt::FramelessWindowHint); + //setWindowFlags(windowFlags() & ~Qt::WindowMinMaxButtonsHint); m_videoForm = dynamic_cast(adsorbWidget); diff --git a/QtScrcpy/toolform.ui b/QtScrcpy/toolform.ui index 59c1b63..5cb5d26 100644 --- a/QtScrcpy/toolform.ui +++ b/QtScrcpy/toolform.ui @@ -13,7 +13,13 @@ Tool + + + + + 30 +