From 33329872afb7c8a9c5e3d5028aa554ff3f08f94d Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Sun, 13 Nov 2022 13:53:06 +0000 Subject: [PATCH] Update to work with latest version of libsgp4 --- plugins/channelrx/demodapt/aptdemodimageworker.h | 2 ++ plugins/feature/satellitetracker/satelliteselectiondialog.cpp | 2 ++ plugins/feature/satellitetracker/satellitetrackersgp4.cpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/plugins/channelrx/demodapt/aptdemodimageworker.h b/plugins/channelrx/demodapt/aptdemodimageworker.h index d2ea79030..31418060c 100644 --- a/plugins/channelrx/demodapt/aptdemodimageworker.h +++ b/plugins/channelrx/demodapt/aptdemodimageworker.h @@ -37,6 +37,8 @@ class APTDemod; +using namespace libsgp4; + class APTDemodImageWorker : public QObject { Q_OBJECT diff --git a/plugins/feature/satellitetracker/satelliteselectiondialog.cpp b/plugins/feature/satellitetracker/satelliteselectiondialog.cpp index 3e2e07868..1b6bc60e9 100644 --- a/plugins/feature/satellitetracker/satelliteselectiondialog.cpp +++ b/plugins/feature/satellitetracker/satelliteselectiondialog.cpp @@ -26,6 +26,8 @@ #include "satelliteselectiondialog.h" #include "util/units.h" +using namespace libsgp4; + SatelliteSelectionDialog::SatelliteSelectionDialog(SatelliteTrackerSettings *settings, const QHash& satellites, QWidget* parent) : diff --git a/plugins/feature/satellitetracker/satellitetrackersgp4.cpp b/plugins/feature/satellitetracker/satellitetrackersgp4.cpp index 9967c319c..f5d6f3685 100644 --- a/plugins/feature/satellitetracker/satellitetrackersgp4.cpp +++ b/plugins/feature/satellitetracker/satellitetrackersgp4.cpp @@ -29,6 +29,8 @@ #include "satellitetrackersgp4.h" +using namespace libsgp4; + // Convert QGP4 DateTime to Qt QDataTime static QDateTime dateTimeToQDateTime(DateTime dt) {