Skip to content

Commit

Permalink
Revert QStringLiteral
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Feb 19, 2019
1 parent 7e008b2 commit 11c9ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -3628,7 +3628,7 @@ QSet<QVariant> QgsOgrProvider::uniqueValues( int index, int limit ) const
if ( ( mGDALDriverName == QLatin1String( "GPKG" ) || mGDALDriverName == QLatin1String( "SQLite" ) )
&& mFirstFieldIsFid && index == 0 )
{
sql += QStringLiteral( ", " ) + quotedIdentifier( textEncoding()->fromUnicode( fld.name() ) ) + QStringLiteral( " AS fid2" );
sql += ", " + quotedIdentifier( textEncoding()->fromUnicode( fld.name() ) ) + " AS fid2";
}

sql += " FROM " + quotedIdentifier( mOgrLayer->name() );
Expand Down

0 comments on commit 11c9ce0

Please sign in to comment.