mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-05 00:04:40 -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
|
||||
emit addVectorLayer( mGpxPath + "?type=track",
|
||||
fileInfo.baseName() + ", tracks", QStringLiteral( "gpx" ) );
|
||||
Q_NOWARN_DEPRECATED_POP
|
||||
emit addLayer( Qgis::LayerType::Vector, mGpxPath + "?type=track",
|
||||
fileInfo.baseName() + ", tracks", QStringLiteral( "gpx" ) );
|
||||
Q_NOWARN_DEPRECATED_POP
|
||||
}
|
||||
if ( cbGPXRoutes->isChecked() )
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user