Bug 333669

Summary: Show distance in feet for short distances
Product: [Applications] marble Reporter: Dennis Nienhüser <nienhueser>
Component: generalAssignee: Dennis Nienhüser <nienhueser>
Status: RESOLVED FIXED    
Severity: task CC: agangwar
Priority: NOR Keywords: junior-jobs
Version: 1.8 (KDE 4.13)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Nienhüser 2014-04-21 01:41:51 UTC
The file RoutingInstructions.cpp contains the code to generate turn instructions for navigation. For imperial units, short distances appear as 0.0 miles, which is not too helpful. Change it such that if the distance is shorter than 0.1 miles, the distance is shown in feet.

Create a review request for the marble group when done. Add a comment here to claim the task before working on it.
Comment 1 Abhinav Gangwar 2014-04-21 08:04:18 UTC
I would like to do this task
Comment 2 Dennis Nienhüser 2014-06-06 16:10:35 UTC
Git commit a52d5ba5ae05ca7902d95ef379e07f0aacc14663 by Dennis Nienhüser.
Committed on 06/06/2014 at 16:09.
Pushed by nienhueser into branch 'master'.

Show distance in feet for distances smaller than 0.1 miles.

M  +5    -0    src/lib/marble/routing/instructions/RoutingInstruction.cpp

http://commits.kde.org/marble/a52d5ba5ae05ca7902d95ef379e07f0aacc14663
Comment 3 Dennis Nienhüser 2014-06-06 16:11:32 UTC
Git commit 786b5edac83cd92ab6a4876365f1a5414546edbe by Dennis Nienhüser.
Committed on 06/06/2014 at 16:09.
Pushed by nienhueser into branch 'KDE/4.13'.

Show distance in feet for distances smaller than 0.1 miles.
(cherry picked from commit a52d5ba5ae05ca7902d95ef379e07f0aacc14663)

M  +5    -0    src/lib/marble/routing/instructions/RoutingInstruction.cpp

http://commits.kde.org/marble/786b5edac83cd92ab6a4876365f1a5414546edbe