ukui-control-center/fix-build-error-of-clang.patch
peijiankang ebace5234b sync 23.09 to 22.03
(cherry picked from commit 5f3a90b6fc67e5cb4e2a2f62cc22ed1df7f97517)
2023-09-18 09:40:11 +08:00

13 lines
827 B
Diff

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);