|
if ((option->subControls & SC_SliderGroove) && groove.isValid()) { |
|
QRect g0 = groove; |
|
if (g0.height() > 5) |
|
g0.adjust(0, 1, 0, -1); |
|
Ph::PSave saver(painter); |
|
Swatchy gutterColor = |
|
option->state & State_Enabled ? S_scrollbarGutter : S_window; |
|
Ph::paintBorderedRoundRect(painter, groove, Ph::SliderGroove_Rounding, |
|
swatch, outlineColor, gutterColor); |
|
} |
g0 is adjusted but not used, did you plan to call
Ph::paintBorderedRoundRect(painter, g0, Ph::SliderGroove_Rounding,
swatch, outlineColor, gutterColor);
phantomstyle/src/phantom/phantomstyle.cpp
Lines 3916 to 3925 in 6e9580b
g0is adjusted but not used, did you plan to callPh::paintBorderedRoundRect(painter, g0, Ph::SliderGroove_Rounding, swatch, outlineColor, gutterColor);