forked from qt-creator/qt-creator
QmlDesigner: Use Theme::DScontrolBackground instead of BackgroundColorDarkAlternate
The color role qmlDesignerBackgroundColorDarkAlternate is deprecated. Change-Id: Ic6ab5883c980b83c3d47830ab51b805936007547 Reviewed-by: Knud Dollereder <knud.dollereder@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -73,7 +73,7 @@ CurveEditorStyle CurveEditorModel::style() const
|
|||||||
out.timeAxisHeight = 60;
|
out.timeAxisHeight = 60;
|
||||||
out.timeOffsetLeft = 10;
|
out.timeOffsetLeft = 10;
|
||||||
out.timeOffsetRight = 10;
|
out.timeOffsetRight = 10;
|
||||||
out.rangeBarColor = QmlDesigner::Theme::instance()->qmlDesignerBackgroundColorDarkAlternate();
|
out.rangeBarColor = QmlDesigner::Theme::getColor(Theme::DScontrolBackground);
|
||||||
out.rangeBarCapsColor = QmlDesigner::Theme::getColor(
|
out.rangeBarCapsColor = QmlDesigner::Theme::getColor(
|
||||||
QmlDesigner::Theme::QmlDesigner_HighlightColor);
|
QmlDesigner::Theme::QmlDesigner_HighlightColor);
|
||||||
out.valueAxisWidth = 60;
|
out.valueAxisWidth = 60;
|
||||||
|
Reference in New Issue
Block a user