summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/qmlsurface/qml/qmlsurface/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/datavisualization/qmlsurface/qml/qmlsurface/main.qml')
-rw-r--r--examples/datavisualization/qmlsurface/qml/qmlsurface/main.qml12
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"
}
}