Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
NEDJIMAbelgacem authored and wonder-sk committed Apr 8, 2021
1 parent d8a9e8a commit b057ad5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/providers/qgspointcloudsourceselect.cpp
Expand Up @@ -106,9 +106,9 @@ void QgsPointCloudSourceSelect::addButtonClicked()
if ( !preferredProviders.empty() )
{
QString baseName = QStringLiteral( "remote ept layer" );
QStringList seperatedPath = mPath.split( '/' );
if ( seperatedPath.size() >= 2 )
baseName = seperatedPath[ seperatedPath.size() - 2 ];
QStringList separatedPath = mPath.split( '/' );
if ( separatedPath.size() >= 2 )
baseName = separatedPath[ separatedPath.size() - 2 ];
emit addPointCloudLayer( mPath, baseName, preferredProviders.at( 0 ).metadata()->key() ) ;
}
}
Expand Down

0 comments on commit b057ad5

Please sign in to comment.