diff --git a/debian/changelog b/debian/changelog index 07f3a7c..8d513e9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +qt5-ukui-platformtheme (4.1.0.0-ok42) nile; urgency=medium + + * 改动: + BUG号:无 + 需求号:无 + 其他改动:修复高亮协议改动引起的qtwidgets控件绘制崩溃问题 + 影响域:qtwidgets控件高亮绘制 + + -- Yue Lan Thu, 06 Jun 2024 09:09:14 +0800 + qt5-ukui-platformtheme (4.1.0.0-ok41) nile; urgency=medium * 改动: diff --git a/debian/patches/0057-update-changelog.patch b/debian/patches/0057-update-changelog.patch new file mode 100644 index 0000000..1433617 --- /dev/null +++ b/debian/patches/0057-update-changelog.patch @@ -0,0 +1,21 @@ +From: Yue-Lan +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(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) || diff --git a/debian/patches/series b/debian/patches/series index cce981c..88cf48f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -54,3 +54,4 @@ 0054-108.patch 0055-109.patch 0056-udpate-changelog.patch +0057-update-changelog.patch