Skip to content

Commit

Permalink
replace QStringLiteral with QString (followup c849bc8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 20, 2017
1 parent 0be274f commit af8fb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit af8fb04

Please sign in to comment.