mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-23 00:05:43 -04:00
Revert QStringLiteral
This commit is contained in:
parent
7e008b25df
commit
11c9ce0c8d
@ -3628,7 +3628,7 @@ QSet<QVariant> QgsOgrProvider::uniqueValues( int index, int limit ) const
|
|||||||
if ( ( mGDALDriverName == QLatin1String( "GPKG" ) || mGDALDriverName == QLatin1String( "SQLite" ) )
|
if ( ( mGDALDriverName == QLatin1String( "GPKG" ) || mGDALDriverName == QLatin1String( "SQLite" ) )
|
||||||
&& mFirstFieldIsFid && index == 0 )
|
&& 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() );
|
sql += " FROM " + quotedIdentifier( mOgrLayer->name() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user