mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix warnings on windows
(cherry picked from commit bf0087832fe6059b7a886dea6d10b24ae2fc7be8)
This commit is contained in:
parent
f61c993e13
commit
5c5fd1f130
@ -478,7 +478,7 @@ void QgsRelationReferenceWidget::init()
|
||||
QVariant nullValue = QSettings().value( "qgis/nullValue", "NULL" );
|
||||
cb->addItem( nullValue.toString(), QVariant( mReferencedLayer->fields().at( idx ).type() ) );
|
||||
|
||||
std::sort( uniqueValues.begin(), uniqueValues.end(), qgsVariantLessThan );
|
||||
qSort( uniqueValues.begin(), uniqueValues.end(), qgsVariantLessThan );
|
||||
Q_FOREACH ( const QVariant& v, uniqueValues )
|
||||
{
|
||||
cb->addItem( v.toString(), v );
|
||||
|
Loading…
x
Reference in New Issue
Block a user