1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2018-03-09 18:57:23 +01:00
parent bc881836ac
commit 60fcff7658
3 changed files with 13 additions and 14 deletions

View File

@ -23,13 +23,13 @@ static QHash<QString, Parser*> parsers()
{
QHash<QString, Parser*> hash;
hash.insert("gpx", &gpx);
hash.insert("tcx", &tcx);
hash.insert("kml", &kml);
hash.insert("fit", &fit);
hash.insert("csv", &csv);
hash.insert("igc", &igc);
hash.insert("nmea", &nmea);
hash.insert("gpx", &gpx);
hash.insert("tcx", &tcx);
hash.insert("kml", &kml);
hash.insert("fit", &fit);
hash.insert("csv", &csv);
hash.insert("igc", &igc);
hash.insert("nmea", &nmea);
return hash;
}

View File

@ -87,8 +87,8 @@ public:
const LinearUnits &units() const {return _units;}
private:
const GCS * _gcs;
CT *_ct;
const GCS *_gcs;
const CT *_ct;
LinearUnits _units;
bool _geographic;
};

View File

@ -3,11 +3,10 @@
#include "projection.h"
class UTM
namespace UTM
{
public:
static int zone(const Coordinates &c);
static Projection::Setup setup(int zone);
};
int zone(const Coordinates &c);
Projection::Setup setup(int zone);
}
#endif // UTM_H