fix clang build error
This commit is contained in:
parent
f1d4cc45cc
commit
e45b2b686f
12
fix-build-error-of-clang.patch
Normal file
12
fix-build-error-of-clang.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -u -r ukui-control-center-3.1.2/shell/mainwindow.cpp ukui-control-center-3.1.2/shell/mainwindow.cpp
|
||||||
|
--- ukui-control-center-3.1.2/shell/mainwindow.cpp 2023-04-03 13:52:30.000000000 +0800
|
||||||
|
+++ ukui-control-center-3.1.2/shell/mainwindow.cpp 2023-06-17 23:00:33.000000000 +0800
|
||||||
|
@@ -724,7 +724,7 @@
|
||||||
|
"QPushButton:pressed{background-color:%2;border-radius: 6px;}").arg(hoverColor).arg(clickColor));
|
||||||
|
}
|
||||||
|
|
||||||
|
- connect(qtSettings, &QGSettings::changed, this, [=,&hoverColor](const QString &key) {
|
||||||
|
+ connect(qtSettings, &QGSettings::changed, this, [=](const QString &key) {
|
||||||
|
if (key == "styleName") {
|
||||||
|
iconBtn->reLoadIcon();
|
||||||
|
hoverColor = this->pluginBtnHoverColor(qtSettings->get("style-name").toString(), true);
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: ukui-control-center
|
Name: ukui-control-center
|
||||||
Version: 3.1.2
|
Version: 3.1.2
|
||||||
Release: 23
|
Release: 24
|
||||||
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
|
||||||
@ -22,6 +22,7 @@ Patch17: ukui-control-center-3.1.2-fix-password-changes-for-this-user-and
|
|||||||
Patch18: fix-ukui-control-center-3.1.2-activation-button-display-error.patch
|
Patch18: fix-ukui-control-center-3.1.2-activation-button-display-error.patch
|
||||||
Patch19: disable-Time-to-sleep-of-kylin.patch
|
Patch19: disable-Time-to-sleep-of-kylin.patch
|
||||||
Patch20: fix-build-error-of-libkscreen-qt5-5.27.6.patch
|
Patch20: fix-build-error-of-libkscreen-qt5-5.27.6.patch
|
||||||
|
Patch21: fix-build-error-of-clang.patch
|
||||||
BuildRequires: qt5-qtsvg-devel
|
BuildRequires: qt5-qtsvg-devel
|
||||||
BuildRequires: gsettings-qt-devel
|
BuildRequires: gsettings-qt-devel
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
@ -140,6 +141,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 08 2023 yoo <sunyuechi@iscas.ac.cn> - 3.1.2-24
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: fix clang build error
|
||||||
|
|
||||||
* Fri Aug 18 2023 douyan <douyan@kylinos.cn> - 3.1.2-23
|
* Fri Aug 18 2023 douyan <douyan@kylinos.cn> - 3.1.2-23
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user