summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/location/mapviewer/map/Marker.qml2
-rw-r--r--examples/location/mapviewer/mapviewer.qrc1
-rw-r--r--examples/location/mapviewer/resources/marker_hovered.pngbin2358 -> 0 bytes
3 files changed, 1 insertions, 2 deletions
diff --git a/examples/location/mapviewer/map/Marker.qml b/examples/location/mapviewer/map/Marker.qml
index 192fdd80..7b123ea6 100644
--- a/examples/location/mapviewer/map/Marker.qml
+++ b/examples/location/mapviewer/map/Marker.qml
@@ -55,7 +55,7 @@ MapQuickItem {
sourceItem: Image {
id: image
//! [mqi-anchor]
- source: markerMouseArea.containsMouse ? (markerMouseArea.pressed ? "../resources/marker_selected.png" :"../resources/marker_hovered.png") : "../resources/marker.png"
+ source: markerMouseArea.pressed ? "../resources/marker_selected.png" : "../resources/marker.png"
MouseArea {
id: markerMouseArea
property int pressX : -1
diff --git a/examples/location/mapviewer/mapviewer.qrc b/examples/location/mapviewer/mapviewer.qrc
index 6b888215..7e8646d7 100644
--- a/examples/location/mapviewer/mapviewer.qrc
+++ b/examples/location/mapviewer/mapviewer.qrc
@@ -32,7 +32,6 @@
<file>resources/scale_end.png</file>
<file>resources/scale.png</file>
<file>resources/marker.png</file>
- <file>resources/marker_hovered.png</file>
<file>resources/marker_selected.png</file>
<file>resources/icon.png</file>
</qresource>
diff --git a/examples/location/mapviewer/resources/marker_hovered.png b/examples/location/mapviewer/resources/marker_hovered.png
deleted file mode 100644
index 902ae591..00000000
--- a/examples/location/mapviewer/resources/marker_hovered.png
+++ /dev/null
Binary files differ