diff --git a/src/map/pcs.cpp b/src/map/pcs.cpp index 4ed8a5a7..eb36a1c5 100644 --- a/src/map/pcs.cpp +++ b/src/map/pcs.cpp @@ -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())); } } diff --git a/src/map/pcs.h b/src/map/pcs.h index 736d6a20..ed684781 100644 --- a/src/map/pcs.h +++ b/src/map/pcs.h @@ -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 defaults();