Skip to content
Permalink
Browse files
replace QStringLiteral with QString (followup c849bc8)
  • Loading branch information
jef-n committed May 20, 2017
1 parent 0be274f commit af8fb04f396b8dce8eaae1d939fbe371ba05e6fb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -9315,7 +9315,7 @@ QgsVectorLayer* QgisApp::addVectorLayer( const QString& vectorLayerPath, const Q
Q_ASSERT( elements.size() >= 4 );
if ( layer->name() != elements.at( 1 ) )
{
layer->setName( QStringLiteral( "%1 %2 %3" ).arg( layer->name(), elements.at( 1 ), elements.at( 3 ) ) );
layer->setName( QString( "%1 %2 %3" ).arg( layer->name(), elements.at( 1 ), elements.at( 3 ) ) );
}

myList << layer;

0 comments on commit af8fb04

Please sign in to comment.