From 85895feeaf88bcde26bbfc71e8f6b2047c0f5f41 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 9 Sep 2021 22:49:00 +0200 Subject: New upstream version 2.5.0~rc6+repack --- widgets/astro.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'widgets/astro.cpp') diff --git a/widgets/astro.cpp b/widgets/astro.cpp index e161199c..6437c072 100644 --- a/widgets/astro.cpp +++ b/widgets/astro.cpp @@ -118,8 +118,8 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const &azmoondx, &elmoondx, &ntsky, &m_dop, &m_dop00, &ramoon, &decmoon, &dgrd, &poloffset, &xnr, &techo, &width1, &width2, bTx, - AzElFileName.toLatin1().data(), - jpleph.toLatin1().data()); + AzElFileName.toLocal8Bit ().constData (), + jpleph.toLocal8Bit ().constData ()); if(!hisgrid.size ()) { azmoondx=0.0; @@ -229,7 +229,7 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const &dgrd, &poloffset, &xnr, &techo, &width1, &width2, bTx, nullptr, // don't overwrite azel.dat - jpleph.toLatin1().data()); + jpleph.toLocal8Bit ().constData ()); FrequencyDelta offset {0}; switch (m_DopplerMethod) { -- cgit v1.2.3