update changelog.

This commit is contained in:
Yue-Lan 2024-06-06 09:10:24 +08:00 committed by openkylin-cibot
parent 3da304ee3b
commit b575cb5cec
3 changed files with 32 additions and 0 deletions

10
debian/changelog vendored
View File

@ -1,3 +1,13 @@
qt5-ukui-platformtheme (4.1.0.0-ok42) nile; urgency=medium
* 改动:
BUG号
需求号:无
其他改动修复高亮协议改动引起的qtwidgets控件绘制崩溃问题
影响域qtwidgets控件高亮绘制
-- Yue Lan <lanyue@kylinos.cn> Thu, 06 Jun 2024 09:09:14 +0800
qt5-ukui-platformtheme (4.1.0.0-ok41) nile; urgency=medium
* 改动:

View File

@ -0,0 +1,21 @@
From: Yue-Lan <lanyue@kylinos.cn>
Date: Thu, 6 Jun 2024 09:10:24 +0800
Subject: update changelog.
---
libqt5-ukui-style/effects/highlight-effect.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libqt5-ukui-style/effects/highlight-effect.cpp b/libqt5-ukui-style/effects/highlight-effect.cpp
index 943a590..81bec19 100644
--- a/libqt5-ukui-style/effects/highlight-effect.cpp
+++ b/libqt5-ukui-style/effects/highlight-effect.cpp
@@ -402,7 +402,7 @@ QPixmap HighLightEffect::bothOrdinaryAndHoverGeneratePixmap(const QPixmap &pixma
if (qobject_cast<const QAbstractItemView *>(widget)) {
if (!option->state.testFlag(QStyle::State_Selected))
overOrDown = false;
- } else if (option->styleObject->inherits("QQuickStyleItem1")) {
+ } else if (option->styleObject && option->styleObject->inherits("QQuickStyleItem1")) {
// 修复qml菜单高亮状态异常问题
overOrDown = option->state.testFlag(QStyle::State_MouseOver) ||
option->state.testFlag(QStyle::State_Sunken) ||

View File

@ -54,3 +54,4 @@
0054-108.patch
0055-109.patch
0056-udpate-changelog.patch
0057-update-changelog.patch