!199 fix the display resolution does not match the actual resolution
From: @hua_yadong Reviewed-by: @peijiankang Signed-off-by: @peijiankang
This commit is contained in:
commit
720ffcc512
@ -0,0 +1,26 @@
|
||||
From 154ef4cd4ba90888c467d00a91337764628538ca Mon Sep 17 00:00:00 2001
|
||||
From: huayadong <huayadong@kylinos.cn>
|
||||
Date: Tue, 4 Jun 2024 09:13:48 +0800
|
||||
Subject: [PATCH]
|
||||
fix-the-display-resolution-does-not-match-the-actual-resolution.patch
|
||||
|
||||
---
|
||||
plugins/system/display/outputconfig.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/plugins/system/display/outputconfig.cpp b/plugins/system/display/outputconfig.cpp
|
||||
index a25f215..601215c 100644
|
||||
--- a/plugins/system/display/outputconfig.cpp
|
||||
+++ b/plugins/system/display/outputconfig.cpp
|
||||
@@ -231,7 +231,7 @@ void OutputConfig::initConnection()
|
||||
});
|
||||
//监听,否则无法处理修改分辨率/刷新率未保存
|
||||
connect(mOutput.data(), &KScreen::Output::currentModeIdChanged, this, [=]() {
|
||||
- if (!mIsRestore || !mOutput->currentMode()) {
|
||||
+ if (!mOutput->currentMode()) {
|
||||
mIsRestore = true;
|
||||
return;
|
||||
}
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: ukui-control-center
|
||||
Version: 3.1.2
|
||||
Release: 32
|
||||
Release: 33
|
||||
Summary: utilities to configure the UKUI desktop
|
||||
License: GPL-2+
|
||||
URL: http://www.ukui.org
|
||||
@ -34,6 +34,7 @@ Patch28: 0001-fix-object-created-in-wrong-thread.patch
|
||||
Patch200: fix-build-error-of-libkscreen-qt5-5.27.6.patch
|
||||
Patch201: fix-build-error-of-clang.patch
|
||||
Patch202: fix-build-error-of-ddcutil-2.0.0.patch
|
||||
Patch203: fix-the-display-resolution-does-not-match-the-actual-resolution.patch
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: gsettings-qt-devel
|
||||
BuildRequires: glib2-devel
|
||||
@ -152,6 +153,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 15 2024 huayadong <huayadong@kylinos.cn> - 3.1.2-33
|
||||
- Type:bugfix
|
||||
- ID :NA
|
||||
- SUG :NA
|
||||
- DESC:Patch203:fix-the-display-resolution-does-not-match-the-actual-resolution.patch
|
||||
|
||||
* Tue Jun 25 2024 houhongxun <houhongxun@kylinos.cn> - 3.1.2-32
|
||||
- fix wrong usage of qthread
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user