projects
/
situare
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5034087
)
"Route to friend" added
author
Janne Kiiski
<janne.kiiski@ixonos.com>
Fri, 19 Nov 2010 13:58:49 +0000
(15:58 +0200)
committer
Janne Kiiski
<janne.kiiski@ixonos.com>
Fri, 19 Nov 2010 13:58:49 +0000
(15:58 +0200)
src/qmlui/FriendsView.qml
patch
|
blob
|
history
diff --git
a/src/qmlui/FriendsView.qml
b/src/qmlui/FriendsView.qml
index
fbfb148
..
444c4f7
100644
(file)
--- a/
src/qmlui/FriendsView.qml
+++ b/
src/qmlui/FriendsView.qml
@@
-26,6
+26,13
@@
ListBase {
Image {
id: routeButton
source: "qrc:/res/images/route_to_friend.png"
+ MouseArea {
+ id: mouseArea
+ anchors.fill: parent
+ onClicked: {
+ engine.routeFromTo(map.gpsLocationLatitude, map.gpsLocationLongitude, latitude, longitude);
+ }
+ }
}
Image {
id: contactButton