projects
/
situare
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a6801d
)
RoutingDelegate: RoundAbout fix
author
Janne Kiiski
<janne.kiiski@ixonos.com>
Fri, 12 Nov 2010 15:07:43 +0000
(17:07 +0200)
committer
Janne Kiiski
<janne.kiiski@ixonos.com>
Fri, 12 Nov 2010 15:07:43 +0000
(17:07 +0200)
src/qmlui/RoutingDelegate.qml
patch
|
blob
|
history
diff --git
a/src/qmlui/RoutingDelegate.qml
b/src/qmlui/RoutingDelegate.qml
index
277b4cd
..
94a03c6
100644
(file)
--- a/
src/qmlui/RoutingDelegate.qml
+++ b/
src/qmlui/RoutingDelegate.qml
@@
-45,7
+45,13
@@
Item {
case "TSLR": "qrc:/res/images/arrow_turn_slight_right.png"; break;
case "TSLL": "qrc:/res/images/arrow_turn_sharp_right.png"; break;
case "TU": "qrc:/res/images/arrow_turn_u_turn.png"; break;
- default: "qrc:/res/images/arrow_turn_start.png"; break;
+ default: {
+ if (turnType.length > 4)
+ "qrc:/res/images/arrow_turn_roundabout.png";
+ else
+ "qrc:/res/images/arrow_turn_start.png";
+ }
+ break;
}
}
}