diff options
author | Georg Zotti <Georg.Zotti@univie.ac.at> | 2023-01-31 17:25:02 +0100 |
---|---|---|
committer | Georg Zotti <Georg.Zotti@univie.ac.at> | 2023-01-31 17:25:02 +0100 |
commit | 19ade1f98cb8451812347923d907a963cea40298 (patch) | |
tree | 6959a3a7074581d611ec9f70b068223289a85b78 | |
parent | 41d936b3b9087a2362e344cf2bd4972762bd7bba (diff) |
cosmeticsuseful-observer-orientation
-rw-r--r-- | src/core/StelLocation.cpp | 2 | ||||
-rw-r--r-- | src/core/StelLocation.hpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/core/StelLocation.cpp b/src/core/StelLocation.cpp index eaf85f63c1..6d5b526455 100644 --- a/src/core/StelLocation.cpp +++ b/src/core/StelLocation.cpp @@ -108,7 +108,7 @@ float StelLocation::getLongitude() const ss=GETSTELMODULE(SolarSystem); PlanetP planet=nullptr; if (ss) - planet=GETSTELMODULE(SolarSystem)->searchByEnglishName(planetName); + planet=ss->searchByEnglishName(planetName); if (planet && planet->getPlanetType()==Planet::isObserver) return 0.f; else diff --git a/src/core/StelLocation.hpp b/src/core/StelLocation.hpp index 44699be02f..e54779e685 100644 --- a/src/core/StelLocation.hpp +++ b/src/core/StelLocation.hpp @@ -138,7 +138,6 @@ private: float longitude; //! Latitude in degree float latitude; - }; Q_DECLARE_METATYPE(StelLocation) |