modify area-info display error
This commit is contained in:
parent
e49f03a57c
commit
5b36e0957e
25
0002-modify-area-info-display-error.patch
Normal file
25
0002-modify-area-info-display-error.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 6fbd0243017e5731bb5db6bb6844833d97b4020e Mon Sep 17 00:00:00 2001
|
||||||
|
From: pei-jiankang <peijiankang@kylinos.cn>
|
||||||
|
Date: Tue, 1 Mar 2022 16:59:57 +0800
|
||||||
|
Subject: [PATCH] modify area-info display error
|
||||||
|
|
||||||
|
---
|
||||||
|
plugins/time-language/area/area.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/time-language/area/area.cpp b/plugins/time-language/area/area.cpp
|
||||||
|
index 409f894..048f2be 100644
|
||||||
|
--- a/plugins/time-language/area/area.cpp
|
||||||
|
+++ b/plugins/time-language/area/area.cpp
|
||||||
|
@@ -264,7 +264,7 @@ void Area::initComponent() {
|
||||||
|
int langIndex = lang.split(':').at(0) == "zh_CN" ? 1 : 0;
|
||||||
|
int formatIndex = res.at(0) == "zh_CN.UTF-8" ? 1 : 0;
|
||||||
|
// ui->langcomboBox->setCurrentIndex(langIndex);
|
||||||
|
- ui->countrycomboBox->setCurrentIndex(formatIndex);
|
||||||
|
+ ui->countrycomboBox->setCurrentIndex(langIndex);
|
||||||
|
|
||||||
|
initFormComponent(0b1111);
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,12 +1,14 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: ukui-control-center
|
Name: ukui-control-center
|
||||||
Version: 3.0.4
|
Version: 3.0.4
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: utilities to configure the UKUI desktop
|
Summary: utilities to configure the UKUI desktop
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch01: 0001-modify-version-info-error.patch
|
Patch01: 0001-modify-version-info-error.patch
|
||||||
|
Patch02: 0002-modify-area-info-display-error.patch
|
||||||
|
|
||||||
BuildRequires: qt5-qtsvg-devel
|
BuildRequires: qt5-qtsvg-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
BuildRequires: gsettings-qt-devel
|
BuildRequires: gsettings-qt-devel
|
||||||
@ -103,6 +105,7 @@ Suggests: ukui-settings-daemon
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
%build
|
%build
|
||||||
qmake-qt5
|
qmake-qt5
|
||||||
make -j24
|
make -j24
|
||||||
@ -150,6 +153,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 1 2022 pei-jiankang <peijiankang@kylinos.cn> - 3.0.4-3
|
||||||
|
- modify area-info display error
|
||||||
|
|
||||||
* Tue Mar 1 2022 pei-jiankang <peijiankang@kylinos.cn> - 3.0.4-2
|
* Tue Mar 1 2022 pei-jiankang <peijiankang@kylinos.cn> - 3.0.4-2
|
||||||
- modify version-info error
|
- modify version-info error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user