mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-12-24 00:34:02 +01:00
Code cleanup
This commit is contained in:
parent
a48b46d0fb
commit
07435a3fdc
@ -19,7 +19,7 @@ PCS PCS::pcs(int id)
|
||||
return PCS();
|
||||
else {
|
||||
const Entry &e = it.value();
|
||||
return PCS(GCS::gcs(e.gcs()), Conversion::conversion(e.proj()));
|
||||
return PCS(GCS::gcs(e.gcs()), Conversion::conversion(e.conversion()));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -27,16 +27,16 @@ public:
|
||||
private:
|
||||
class Entry {
|
||||
public:
|
||||
Entry(const QString &name, int gcs, int proj)
|
||||
: _name(name), _gcs(gcs), _proj(proj) {}
|
||||
Entry(const QString &name, int gcs, int conversion)
|
||||
: _name(name), _gcs(gcs), _conversion(conversion) {}
|
||||
|
||||
const QString &name() const {return _name;}
|
||||
int proj() const {return _proj;}
|
||||
int conversion() const {return _conversion;}
|
||||
int gcs() const {return _gcs;}
|
||||
|
||||
private:
|
||||
QString _name;
|
||||
int _gcs, _proj;
|
||||
int _gcs, _conversion;
|
||||
};
|
||||
|
||||
static QMap<int, Entry> defaults();
|
||||
|
Loading…
Reference in New Issue
Block a user