summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-03-17 08:50:46 +0100
committerMichal Klocek <michal.klocek@theqtcompany.com>2015-04-14 08:36:00 +0000
commit5113ee1a4fb0bae5d921a0365b6aafcd8bbc2d10 (patch)
tree31ef6e6f831a59107735474b64a59075688822a1 /examples
parent8ccac8432b9575e2dbf49e9e887c2581bcee308f (diff)
downloadqtlocation-5113ee1a4fb0bae5d921a0365b6aafcd8bbc2d10.tar.gz
Remove not used marker hover functionality from mapviewer.
Change-Id: I83511201db05298899dd1f9202cbe3c26b6b19ea Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples')
-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