Skip to content

Commit 24d59b3

Browse files
sync: from linuxdeepin/dtkwidget
Synchronize source files from linuxdeepin/dtkwidget. Source-pull-request: linuxdeepin/dtkwidget#602
1 parent 940aa00 commit 24d59b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/widgets/dslider.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
#include <DPaletteHelper>
1515
#include <DFontSizeManager>
16+
#include <DGuiApplicationHelper>
1617

1718
DWIDGET_BEGIN_NAMESPACE
1819

@@ -784,7 +785,7 @@ void SliderStrip::paintEvent(QPaintEvent *event)
784785
Q_UNUSED(event)
785786
QPainter pa(this);
786787
auto dpa = DPaletteHelper::instance()->palette(this);
787-
QPen penLine = QPen(dpa.color(DPalette::ObviousBackground), 1);
788+
QPen penLine = QPen(DGuiApplicationHelper::adjustColor(dpa.color(DPalette::ObviousBackground), 0, 0, 0, 0, 0, 0, +20), 1);
788789
QPen penNumber = QPen(dpa.textTips(), 1);
789790

790791
int tickSize = fontMetrics().height() / 2;

0 commit comments

Comments
 (0)