mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-05 00:06:38 -05:00
[ios] [qgsquick] fix crash of GPS widget on iOS, see input issue 470
This commit is contained in:
parent
afc598204a
commit
0a71599a04
@ -221,9 +221,9 @@ void QgsQuickPositionKit::onSimulatePositionLongLatRadChanged( QVector<double> s
|
||||
QgsDebugMsg( QStringLiteral( "Use simulated position around longlat: %1, %2, %3" ).arg( longitude ).arg( latitude ).arg( radius ) );
|
||||
useSimulatedLocation( longitude, latitude, radius );
|
||||
}
|
||||
else
|
||||
else if ( mIsSimulated )
|
||||
{
|
||||
QgsDebugMsg( QStringLiteral( "Unable to set simulated position due to the input errors." ) );
|
||||
QgsDebugMsg( QStringLiteral( "Switching from simulated to GPS location" ) );
|
||||
useGpsLocation();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user