1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

Merge pull request #2110 from dforsi/feature/my-position

Explain that GPS is not the only means to get the position of the station
This commit is contained in:
Edouard Griffiths 2024-05-14 09:42:32 +02:00 committed by GitHub
commit 20aed1b00d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

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);

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>324</width>
<height>201</height>
<height>219</height>
</rect>
</property>
<property name="font">
@ -119,14 +119,14 @@
<item row="4" column="0">
<widget class="QLabel" name="autoUpdatePositionLabel">
<property name="text">
<string>Auto-update from GPS</string>
<string>Auto-update position</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QToolButton" name="gps">
<property name="toolTip">
<string>Set position using GPS (if available)</string>
<string>Set position now using GPS (or other means if available)</string>
</property>
<property name="text">
<string/>