!124 modify icon theme not display
From: @peijiankang Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
bb17f0fa44
28
0007-modify-icon-theme-not-display.patch
Normal file
28
0007-modify-icon-theme-not-display.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From d155a8511018a478fc55486075761c664913ef34 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Thu, 29 Dec 2022 14:08:05 +0800
|
||||
Subject: [PATCH] modify icon theme not display
|
||||
|
||||
---
|
||||
shell/utils/utils.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/shell/utils/utils.cpp b/shell/utils/utils.cpp
|
||||
index 9c97e3e..24d5f56 100644
|
||||
--- a/shell/utils/utils.cpp
|
||||
+++ b/shell/utils/utils.cpp
|
||||
@@ -187,9 +187,9 @@ bool Utils::isCommunity()
|
||||
QString filename = "/etc/os-release";
|
||||
QSettings osSettings(filename, QSettings::IniFormat);
|
||||
|
||||
- QString versionID = osSettings.value("VERSION_ID").toString();
|
||||
+ QString versionID = osSettings.value("ID").toString();
|
||||
|
||||
- if (versionID.compare("22.04", Qt::CaseSensitive)) {
|
||||
+ if (versionID.compare("openEuler", Qt::CaseSensitive)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
Name: ukui-control-center
|
||||
Version: 3.1.2
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: utilities to configure the UKUI desktop
|
||||
License: GPL-2+
|
||||
URL: http://www.ukui.org
|
||||
@ -10,6 +10,7 @@ Patch01: 0001-fix-compile-error-of-ukui-control-center.patch
|
||||
Patch02: 0001-modify-version-info-error.patch
|
||||
Patch03: 0003-fix-power-missing-issue.patch
|
||||
Patch05: 0005-Fix-the-problem-of-displaying-none-in-the-interface-version-information.patch
|
||||
Patch07: 0007-modify-icon-theme-not-display.patch
|
||||
|
||||
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
@ -122,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 29 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.2-6
|
||||
- modify icon theme not display
|
||||
|
||||
* Fri Dec 23 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.2-5
|
||||
- add patch5: 0005-Fix-the-problem-of-displaying-none-in-the-interface-version-information.patch
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user