Skip to content

Commit 0f3c20e

Browse files
authored
Draw slider gutter with the right QRect
This will close randrew#17
1 parent 6e9580b commit 0f3c20e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phantom/phantomstyle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3920,7 +3920,7 @@ void PhantomStyle::drawComplexControl(ComplexControl control,
39203920
Ph::PSave saver(painter);
39213921
Swatchy gutterColor =
39223922
option->state & State_Enabled ? S_scrollbarGutter : S_window;
3923-
Ph::paintBorderedRoundRect(painter, groove, Ph::SliderGroove_Rounding,
3923+
Ph::paintBorderedRoundRect(painter, g0, Ph::SliderGroove_Rounding,
39243924
swatch, outlineColor, gutterColor);
39253925
}
39263926
if (option->subControls & SC_SliderTickmarks) {

0 commit comments

Comments
 (0)