Skip to content

Commit 5c5fd1f

Browse files
committedSep 17, 2016
fix warnings on windows
(cherry picked from commit bf00878)
1 parent f61c993 commit 5c5fd1f

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
@@ -478,7 +478,7 @@ void QgsRelationReferenceWidget::init()
478478
QVariant nullValue = QSettings().value( "qgis/nullValue", "NULL" );
479479
cb->addItem( nullValue.toString(), QVariant( mReferencedLayer->fields().at( idx ).type() ) );
480480

481-
std::sort( uniqueValues.begin(), uniqueValues.end(), qgsVariantLessThan );
481+
qSort( uniqueValues.begin(), uniqueValues.end(), qgsVariantLessThan );
482482
Q_FOREACH ( const QVariant& v, uniqueValues )
483483
{
484484
cb->addItem( v.toString(), v );

0 commit comments

Comments
 (0)
Please sign in to comment.