Skip to content

Commit

Permalink
Merge pull request f4exb#2110 from dforsi/feature/my-position
Browse files Browse the repository at this point in the history
Explain that GPS is not the only means to get the position of the station
  • Loading branch information
f4exb authored May 14, 2024
2 parents 5231d18 + dbc9ebb commit 20aed1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions sdrbase/maincore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions sdrgui/gui/myposdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>324</width>
<height>201</height>
<height>219</height>
</rect>
</property>
<property name="font">
Expand Down Expand Up @@ -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/>
Expand Down

0 comments on commit 20aed1b

Please sign in to comment.