1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-26 03:54:30 -04:00

Merge pull request #2811 from srcejon/fix_2801

Fix kiwiSDRs on Map
This commit is contained in:
Edouard Griffiths
2026-07-19 23:52:22 +02:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -673,7 +673,7 @@ void MapGUI::kiwiSDRUpdated(const QList<KiwiSDRList::KiwiSDR>& sdrs)
QString band = "HF";
if (sdr.m_highFrequency > 300000000) {
band = "UHF";
} else if (sdr.m_highFrequency > 320000000) { // Technically 30MHz, but many HF Kiwis list up to 32MHz
} else if (sdr.m_highFrequency > 32000000) { // Technically 30MHz, but many HF Kiwis list up to 32MHz
band = "VHF";
}
QString label = QString("Kiwi %1").arg(band);
+2 -2
View File
@@ -56,9 +56,9 @@ void KiwiSDRList::getData()
{
#ifdef __EMSCRIPTEN__
// kiwisdr.com doesn't support https, but it's needed for Emscripten - our CORS proxy handles it
QUrl url = CORSProxy::adjustHost(QUrl("https://kiwisdr.com/.public/"));
QUrl url = CORSProxy::adjustHost(QUrl("https://kiwisdr.com/public/"));
#else
QUrl url = CORSProxy::adjustHost(QUrl("http://kiwisdr.com/.public/"));
QUrl url = CORSProxy::adjustHost(QUrl("http://kiwisdr.com/public/"));
#endif
m_networkManager->get(QNetworkRequest(url));
}
+1 -1
View File
@@ -27,7 +27,7 @@ class QNetworkAccessManager;
class QNetworkReply;
class QNetworkDiskCache;
// Gets a list of public Kiwi SDRs from http://kiwisdr.com/.public/
// Gets a list of public Kiwi SDRs from http://kiwisdr.com/public/
class SDRBASE_API KiwiSDRList : public QObject
{
Q_OBJECT