ukui-control-center/0003-fix-dialog-pop-twice-after-modifying-resolution-bug.patch

32 lines
1.2 KiB
Diff

From bb73b40db7489201f2d5237a675cfd2ff7ae01bc Mon Sep 17 00:00:00 2001
From: myshow <296570182@qq.com>
Date: Tue, 1 Dec 2020 14:45:48 +0800
Subject: [PATCH 4/5] =?UTF-8?q?fix-dialog-pop-twice-after-modifying-resolu?=
=?UTF-8?q?tion-bug=20=E4=BF=AE=E5=A4=8D=E4=BF=AE=E6=94=B9=E5=88=86?=
=?UTF-8?q?=E8=BE=A8=E7=8E=87=E4=B9=8B=E5=90=8E=E5=AF=B9=E8=AF=9D=E6=A1=86?=
=?UTF-8?q?=E5=BC=B9=E5=87=BA=E4=B8=A4=E6=AC=A1=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
plugins/system/display/widget.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/system/display/widget.cpp b/plugins/system/display/widget.cpp
index 7055733..7c175ed 100644
--- a/plugins/system/display/widget.cpp
+++ b/plugins/system/display/widget.cpp
@@ -78,7 +78,7 @@ Widget::Widget(QWidget *parent)
ui->monitorLabel->setStyleSheet("QLabel{font-size: 18px; color: palette(windowText);}");
ui->quickWidget->setResizeMode(QQuickWidget::SizeRootObjectToView);
-#if QT_VERSION <= QT_VERSION_CHECK(5, 12, 0)
+#if QT_VERSION <= QT_VERSION_CHECK(5, 6, 0)
oriApply = true;
#else
oriApply = false;
--
2.29.2.windows.2