Skip to content

Commit bf00878

Browse files
committed
fix warnings on windows
1 parent bd23bf1 commit bf00878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/editorwidgets/qgsrelationreferencewidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ void QgsRelationReferenceWidget::init()
473473
QVariant nullValue = QSettings().value( "qgis/nullValue", "NULL" );
474474
cb->addItem( nullValue.toString(), QVariant( mReferencedLayer->fields().at( idx ).type() ) );
475475

476-
std::sort( uniqueValues.begin(), uniqueValues.end(), qgsVariantLessThan );
476+
qSort( uniqueValues.begin(), uniqueValues.end(), qgsVariantLessThan );
477477
Q_FOREACH ( const QVariant& v, uniqueValues )
478478
{
479479
cb->addItem( v.toString(), v );

0 commit comments

Comments
 (0)