From 10f54cfc182cd1093a76cd61756bfeebdbc0677d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A6=83=E6=9C=AC=E5=AD=A6?= Date: Fri, 30 Aug 2024 13:21:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=BB=91=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1=E6=A8=AA=E6=9D=A1=E5=92=8C=E5=88=BB=E5=BA=A6=E9=A2=9C?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整滑动条横条和刻度颜色 Log: 调整滑动条横条和刻度颜色 Bug: https://pms.uniontech.com/bug-view-254295.html Influence: 调整滑动条横条和刻度颜色 --- styleplugins/chameleon/chameleonstyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styleplugins/chameleon/chameleonstyle.cpp b/styleplugins/chameleon/chameleonstyle.cpp index 7c72abb5..52234f42 100644 --- a/styleplugins/chameleon/chameleonstyle.cpp +++ b/styleplugins/chameleon/chameleonstyle.cpp @@ -3396,7 +3396,7 @@ void ChameleonStyle::drawComplexControl(QStyle::ComplexControl cc, const QStyleO p->setPen(pen); p->setRenderHint(QPainter::Antialiasing); - QColor color = getColor(opt, DPalette::ObviousBackground, w); //绘画的右侧/上侧的滑槽颜色一定是灰 + QColor color = adjustColor(getColor(opt, DPalette::ObviousBackground, w), 0, 0, 0, 0, 0, 0, +15); //绘画的右侧/上侧的滑槽颜色一定是灰 // 属性启用灰色滑槽 QVariant prop = dslider ? const_cast(dslider)->slider()->property("_d_dtk_sldier_across") : QVariant();