~ubuntu-branches/ubuntu/wily/marble/wily-proposed

« back to all changes in this revision

Viewing changes to src/lib/marble/routing/instructions/RoutingInstruction.cpp

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark, Jonathan Riddell, Scarlett Clark
  • Date: 2014-07-24 23:38:32 UTC
  • mfrom: (1.5.2)
  • Revision ID: package-import@ubuntu.com-20140724233832-7v4421t4khrhw487
Tags: 4:4.13.90-0ubuntu1
[ Jonathan Riddell ]
* Switch to libmarblewidget19 for new soversion

[ Scarlett Clark ]
* New upstream beta release
* Update: do_not_install_private_headers. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
297
297
        distanceUnit = "mi";
298
298
        length /= 1000.0;
299
299
        length /= 1.609344;
 
300
        if ( length < 0.1 ) {
 
301
            length = 10 * qRound( length * 528 );
 
302
            precision = 0;
 
303
            distanceUnit = "ft";
 
304
        }
300
305
    } else {
301
306
        if ( length >= 1000 ) {
302
307
            length /= 1000;