Skip to content

Commit

Permalink
update some properties
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Jan 18, 2024
1 parent 178867b commit 7d9d823
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@ jobs:
uses: vmactions/netbsd-vm@v1
id: netbsd-qt5
with:
release: 9.0
# Use sh shell
usesh: true
prepare: |
/usr/sbin/pkg_add cmake qt5 qxlsx exiv2 nlopt perl5 gettext
/usr/sbin/pkg_add cmake qt5 exiv2 nlopt gettext
run: |
set -e -x
export PATH=/usr/pkg/qt5/bin:$PATH
export DISPLAY=:0
mkdir builds
cd builds
Expand Down
4 changes: 2 additions & 2 deletions src/core/StelLocationMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1084,8 +1084,8 @@ void StelLocationMgr::changeLocationFromGPSQuery(const StelLocation &locin)
loc.isUserLocation=true;
loc.planetName="Earth";
loc.name=QString("GPS %1%2 %3%4")
.arg(loc.getLatitude()<0?"S":"N").arg(qRound(abs(loc.getLatitude())))
.arg(loc.getLongitude()<0?"W":"E").arg(qRound(abs(loc.getLongitude())));
.arg(loc.getLatitude()<0.f?"S":"N").arg(qRound(abs(loc.getLatitude())))
.arg(loc.getLongitude()<0.f?"W":"E").arg(qRound(abs(loc.getLongitude())));
LandscapeMgr *lMgr=GETSTELMODULE(LandscapeMgr);
QString landscapeAutoName;
if (lMgr->getFlagLandscapeAutoSelection())
Expand Down

0 comments on commit 7d9d823

Please sign in to comment.