From 07435a3fdc1ecdb997384b3324bfecca37ad1487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 20 Mar 2024 07:45:49 +0100 Subject: [PATCH] Code cleanup --- src/map/pcs.cpp | 2 +- src/map/pcs.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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();