Skip to content
Permalink
Browse files

Replace QString by QStringLiteral

  • Loading branch information
pblottiere committed Jul 2, 2017
1 parent e52414e commit 3a8d56ec7577a098c8ab99fd78a1a68f7f0c89b7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayerjoinbuffer.cpp
@@ -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 );

0 comments on commit 3a8d56e

Please sign in to comment.
You can’t perform that action at this time.