Revert QStringLiteral

This commit is contained in:
Alessandro Pasotti 2019-02-19 15:40:36 +01:00
parent 7e008b25df
commit 11c9ce0c8d

View File

@ -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() );