diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-11-24 10:11:20 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-11-30 10:42:40 +0100 |
commit | 0ee94fbbba4f91209e6075fa033cd58300549286 (patch) | |
tree | 3f959c74824549654c8e312c22051fa5088713c6 /examples | |
parent | 8f6bd3b108826e3189d1b7f3280e748a473b2a1b (diff) | |
download | qtlocation-0ee94fbbba4f91209e6075fa033cd58300549286.tar.gz |
Remove map item backend switch
Change-Id: Ic1ed064269ac73e68d0358b373ea1e8048a1c241
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/location/geojson_viewer/GeoJsonDelegate.qml | 3 | ||||
-rw-r--r-- | examples/location/geojson_viewer/main.qml | 8 |
2 files changed, 0 insertions, 11 deletions
diff --git a/examples/location/geojson_viewer/GeoJsonDelegate.qml b/examples/location/geojson_viewer/GeoJsonDelegate.qml index d5b9b3e9..c9e43be3 100644 --- a/examples/location/geojson_viewer/GeoJsonDelegate.qml +++ b/examples/location/geojson_viewer/GeoJsonDelegate.qml @@ -59,7 +59,6 @@ DelegateChooser { role: "type" property color defaultColor: "grey" property real defaultOpacity: 0.6 - property bool openGLBackends: false DelegateChoice { roleValue: "Point" @@ -83,7 +82,6 @@ DelegateChooser { delegate: MapPolyline { property string geojsonType: "LineString" property var props: modelData.properties - backend: (dc.openGLBackends) ? MapPolyline.OpenGL : MapPolyline.Software geoShape: modelData.data line.width: 4 opacity: dc.defaultOpacity @@ -101,7 +99,6 @@ DelegateChooser { color: (props && props.color) || (parent && parent.props && parent.props.color) || dc.defaultColor border.width: 4 border.color: 'black' - backend: (dc.openGLBackends) ? MapPolygon.OpenGL : MapPolygon.Software MouseArea { anchors.fill: parent onClicked: { diff --git a/examples/location/geojson_viewer/main.qml b/examples/location/geojson_viewer/main.qml index 3c42d9a5..85d0e07d 100644 --- a/examples/location/geojson_viewer/main.qml +++ b/examples/location/geojson_viewer/main.qml @@ -64,7 +64,6 @@ ApplicationWindow { height: 1024 menuBar: mainMenu title: qsTr("GeoJSON Viewer") - property bool openGLBackends: glBackendSelector.checked FileDialog { visible: false @@ -140,12 +139,6 @@ ApplicationWindow { geoJsoner.print(miv) } } - MenuItem { - text: "OpenGL Item backends" - id: glBackendSelector - checkable: true - checked: false - } } } @@ -173,7 +166,6 @@ ApplicationWindow { id: miv model: geoJsoner.model delegate: GeoJsonDelegate { - openGLBackends: win.openGLBackends } } } |