diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2022-02-10 07:02:44 +0200 |
---|---|---|
committer | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2022-02-10 11:17:48 +0200 |
commit | e82f53b35010dbeae6a5e7d87e007518a4eb0cbb (patch) | |
tree | 9a74a62a30a0fd0b43408f9bafc90114f9a24fe1 /examples/datavisualization | |
parent | 3928bd7b188b15a6f712a9d3650ced2d0b872545 (diff) |
Fix API review finding
Rename wireFrameColor to wireframeColor to be
consistent with other usage of wirfeframe in
QtDataVisualization.
Pick-to: 6.3
Change-Id: I1ae6cd7372e46efa2a5d83856126d45355fcff60
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/datavisualization')
-rw-r--r-- | examples/datavisualization/qmlsurface/qml/qmlsurface/main.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/datavisualization/qmlsurface/qml/qmlsurface/main.qml b/examples/datavisualization/qmlsurface/qml/qmlsurface/main.qml index f128ac45..0be0999f 100644 --- a/examples/datavisualization/qmlsurface/qml/qmlsurface/main.qml +++ b/examples/datavisualization/qmlsurface/qml/qmlsurface/main.qml @@ -160,15 +160,15 @@ Rectangle { Layout.fillHeight: true text: "Red surface grid color" onClicked: { - if (Qt.colorEqual(surfaceSeries.wireFrameColor, "#000000") - && Qt.colorEqual(heightSeries.wireFrameColor, "#000000")) { - surfaceSeries.wireFrameColor = "red" - heightSeries.wireFrameColor = "red" + if (Qt.colorEqual(surfaceSeries.wireframeColor, "#000000") + && Qt.colorEqual(heightSeries.wireframeColor, "#000000")) { + surfaceSeries.wireframeColor = "red" + heightSeries.wireframeColor = "red" text = "Black surface grid color" } else { - surfaceSeries.wireFrameColor = "black" - heightSeries.wireFrameColor = "black" + surfaceSeries.wireframeColor = "black" + heightSeries.wireframeColor = "black" text = "Red surface grid color" } } |