1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-17 16:24:08 -04:00

Explain that GPS is not the only means to get the position of the station

Also print a debug message with the position provider in use.
This commit is contained in:
Daniele Forsi
2024-05-13 22:55:34 +02:00
parent 79310b2008
commit dbc9ebbb64
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -360,6 +360,7 @@ void MainCore::initPosition()
m_positionSource = QGeoPositionInfoSource::createDefaultSource(this);
if (m_positionSource)
{
qDebug() << "MainCore::initPosition: Using position source" << m_positionSource->sourceName();
connect(m_positionSource, &QGeoPositionInfoSource::positionUpdated, this, &MainCore::positionUpdated);
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
connect(m_positionSource, &QGeoPositionInfoSource::updateTimeout, this, &MainCore::positionUpdateTimeout);