Fix build error with -no-feature-slider
Change-Id: Ia74aeefdba3ac6b831aeeaff40600e30d90183d8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Tasuku Suzuki <tasuku.suzuki@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
285789781c
commit
bc5454d2c4
@ -1956,10 +1956,10 @@ void QFusionStyle::drawComplexControl(ComplexControl control, const QStyleOption
|
||||
|
||||
#if QT_CONFIG(spinbox) || QT_CONFIG(slider)
|
||||
QColor buttonColor = d->buttonColor(option->palette);
|
||||
QColor gradientStopColor = buttonColor;
|
||||
#endif
|
||||
#if QT_CONFIG(slider)
|
||||
QColor gradientStartColor = buttonColor.lighter(118);
|
||||
QColor gradientStopColor = buttonColor;
|
||||
#endif
|
||||
QColor outline = d->outline(option->palette);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user