Fix the resolution donotsave button fails
(cherry picked from commit aa0abef7947f5bc384ae1864bdf98e49e7e55362)
This commit is contained in:
parent
c4df20e50a
commit
4d66b87c7f
35
0009-Fix-the-resolution-donotsave-button-fails.patch
Normal file
35
0009-Fix-the-resolution-donotsave-button-fails.patch
Normal file
@ -0,0 +1,35 @@
|
||||
From 934fc1be1565d019b98373954551e81187096960 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Wed, 20 Jul 2022 17:41:12 +0800
|
||||
Subject: [PATCH] Fix the resolution donotsave button fails
|
||||
|
||||
---
|
||||
plugins/system/display/widget.cpp | 12 ++++++------
|
||||
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/plugins/system/display/widget.cpp b/plugins/system/display/widget.cpp
|
||||
index 642114e..bb7fcf6 100644
|
||||
--- a/plugins/system/display/widget.cpp
|
||||
+++ b/plugins/system/display/widget.cpp
|
||||
@@ -1707,12 +1707,12 @@ void Widget::initConnection()
|
||||
applyNightModeSlot();
|
||||
});
|
||||
|
||||
- QDBusConnection::sessionBus().connect(QString(),
|
||||
- QString("/"),
|
||||
- "org.ukui.ukcc.session.interface",
|
||||
- "screenChanged",
|
||||
- this,
|
||||
- SLOT(kdsScreenchangeSlot(QString)));
|
||||
+// QDBusConnection::sessionBus().connect(QString(),
|
||||
+// QString("/"),
|
||||
+// "org.ukui.ukcc.session.interface",
|
||||
+// "screenChanged",
|
||||
+// this,
|
||||
+// SLOT(kdsScreenchangeSlot(QString)));
|
||||
|
||||
|
||||
QDBusConnection::sessionBus().connect(QString(),
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
Name: ukui-control-center
|
||||
Version: 3.0.4
|
||||
Release: 12
|
||||
Release: 13
|
||||
Summary: utilities to configure the UKUI desktop
|
||||
License: GPL-2+
|
||||
URL: http://www.ukui.org
|
||||
@ -14,6 +14,7 @@ Patch05: 0005-Fix-the-problem-of-displaying-none-in-the-interface-version
|
||||
Patch06: 0006-fix-the-problem-that-the-new-user-in-the-control-panel-is-stuck.patch
|
||||
Patch07: 0007-modify-icon-theme-not-display.patch
|
||||
Patch08: 0008-Fix-preferred-language-default-errors.patch
|
||||
Patch09: 0009-Fix-the-resolution-donotsave-button-fails.patch
|
||||
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
@ -119,6 +120,7 @@ Suggests: ukui-settings-daemon
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
qmake-qt5
|
||||
@ -167,6 +169,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 20 2022 peijiankang <peijiankang@kylinos.cn> - 3.0.4-13
|
||||
- Fix the resolution donotsave button fails
|
||||
|
||||
* Mon Jul 18 2022 peijiankang <peijiankang@kylinos.cn> - 3.0.4-12
|
||||
- Fix preferred language default errors
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user