Commit 3d0c758f authored by David Redondo's avatar David Redondo 🏎

Deprecate colorSource

It never had an effect
parent 74db33b1
......@@ -126,7 +126,6 @@ Faces.SensorFace {
visible: root.showLegend
chart: compactRepresentation
sourceModel: root.showLegend ? compactRepresentation.sensorsModel : null
colorSource: root.colorSource
sensorIds: root.showLegend ? root.controller.lowPrioritySensorIds : []
flow: root.width > root.height * 1.5 ? GridLayout.LeftToRight : GridLayout.TopToBottom
}
......
......@@ -125,7 +125,6 @@ Faces.SensorFace {
visible: root.showLegend
chart: compactRepresentation
sourceModel: root.showLegend ? compactRepresentation.sensorsModel : null
colorSource: root.colorSource
sensorIds: root.showLegend ? root.controller.lowPrioritySensorIds : []
flow: root.width > root.height * 1.5 ? GridLayout.LeftToRight : GridLayout.TopToBottom
}
......
......@@ -77,7 +77,6 @@ Faces.SensorFace {
visible: root.showLegend
chart: compactRepresentation.chart
sourceModel: root.showLegend ? compactRepresentation.sensorsModel : null
colorSource: root.colorSource
sensorIds: root.showLegend ? root.controller.lowPrioritySensorIds : []
flow: root.width > root.height * 1.5 ? GridLayout.LeftToRight : GridLayout.TopToBottom
}
......
......@@ -35,8 +35,13 @@ ChartsControls.Legend {
id: legend
property alias sensorIds: sensorsRepeater.model
property var sourceModel
property SensorDataModel sourceModel
/**
* @deprecated since 5.21
* Has no effect
*/
property var colorSource
property var sourceModel
flow: GridLayout.TopToBottom
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment