mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-06 00:03:16 -05:00
Update src/providers/gpx/qgsgpxsourceselect.cpp
Co-authored-by: Mathieu Pellerin <nirvn.asia@gmail.com>
This commit is contained in:
parent
a3e06229ec
commit
1b76bc8fe2
@ -65,9 +65,9 @@ void QgsGpxSourceSelect::addButtonClicked()
|
|||||||
Q_NOWARN_DEPRECATED_PUSH
|
Q_NOWARN_DEPRECATED_PUSH
|
||||||
emit addVectorLayer( mGpxPath + "?type=track",
|
emit addVectorLayer( mGpxPath + "?type=track",
|
||||||
fileInfo.baseName() + ", tracks", QStringLiteral( "gpx" ) );
|
fileInfo.baseName() + ", tracks", QStringLiteral( "gpx" ) );
|
||||||
|
Q_NOWARN_DEPRECATED_POP
|
||||||
emit addLayer( Qgis::LayerType::Vector, mGpxPath + "?type=track",
|
emit addLayer( Qgis::LayerType::Vector, mGpxPath + "?type=track",
|
||||||
fileInfo.baseName() + ", tracks", QStringLiteral( "gpx" ) );
|
fileInfo.baseName() + ", tracks", QStringLiteral( "gpx" ) );
|
||||||
Q_NOWARN_DEPRECATED_POP
|
|
||||||
}
|
}
|
||||||
if ( cbGPXRoutes->isChecked() )
|
if ( cbGPXRoutes->isChecked() )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user