Added ruler.png image.
authorJussi Laitinen <jupe@l3l7588.ixonos.local>
Mon, 16 Aug 2010 13:18:27 +0000 (16:18 +0300)
committerJussi Laitinen <jupe@l3l7588.ixonos.local>
Mon, 16 Aug 2010 13:18:27 +0000 (16:18 +0300)
images.qrc
res/images/ruler.png [new file with mode: 0644]
src/ui/routewaypointlistitem.cpp

index 64b2a4d..2ea4c0b 100644 (file)
@@ -35,7 +35,6 @@
         <file>res/images/walk_icon_gray.png</file>
         <file>res/images/zoom_in.png</file>
         <file>res/images/zoom_out.png</file>
-        <file>res/images/distance_icon.png</file>
         <file>res/images/arrow_turn_continue.png</file>
         <file>res/images/arrow_turn_left.png</file>
         <file>res/images/arrow_turn_right.png</file>
@@ -46,5 +45,6 @@
         <file>res/images/arrow_turn_slight_right.png</file>
         <file>res/images/arrow_turn_start.png</file>
         <file>res/images/arrow_turn_u_turn.png</file>
+        <file>res/images/ruler.png</file>
     </qresource>
 </RCC>
diff --git a/res/images/ruler.png b/res/images/ruler.png
new file mode 100644 (file)
index 0000000..b9ee981
Binary files /dev/null and b/res/images/ruler.png differ
index 7c46a37..66aa448 100644 (file)
@@ -40,7 +40,7 @@ void RouteWaypointListItem::setRouteWaypointData(const RouteSegment &routeSegmen
     QTime segmentTravelTime = zeroTime.addSecs(routeSegment.time());
     addSubItem(segmentTravelTime.toString("hh:mm:ss"), QPixmap(":/res/images/clock.png"));
 
-    addSubItem(routeSegment.lengthCaption(), QPixmap(":/res/images/distance_icon.png"));
+    addSubItem(routeSegment.lengthCaption(), QPixmap(":/res/images/ruler.png"));
 }
 
 void RouteWaypointListItem::setTurnTypeImage(const QString &turnType)