Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Replace QString by QStringLiteral
  • Loading branch information
pblottiere committed Jul 2, 2017
1 parent e52414e commit 3a8d56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerjoinbuffer.cpp
Expand Up @@ -419,7 +419,7 @@ QgsFeature QgsVectorLayerJoinBuffer::joinedFeatureOf( const QgsVectorLayerJoinIn
const QVariant targetValue = feature.attribute( info->targetFieldName() );
QString fieldRef = QgsExpression::quotedColumnRef( info->joinFieldName() );
QString quotedVal = QgsExpression::quotedValue( targetValue.toString() );
const QString filter = QString( "%1 = %2" ).arg( fieldRef, quotedVal );
const QString filter = QStringLiteral( "%1 = %2" ).arg( fieldRef, quotedVal );

QgsFeatureRequest request;
request.setFilterExpression( filter );
Expand Down

0 comments on commit 3a8d56e

Please sign in to comment.