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

« back to all changes in this revision

Viewing changes to src/plugins/positionprovider/flightgear/FlightGearPositionProviderPlugin.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:
175
175
    }
176
176
}
177
177
 
178
 
double FlightGearPositionProviderPlugin::parsePosition( const QString &value, bool isNegative ) const
 
178
double FlightGearPositionProviderPlugin::parsePosition( const QString &value, bool isNegative )
179
179
{
180
180
    double pos = value.toDouble();
181
181
    pos = int( pos / 100.0 ) + ( pos - 100.0 * int( pos / 100.0 ) ) / 60.0;