Skip to content
Permalink
Browse files

fix warnings on windows

(cherry picked from commit bf00878)
  • Loading branch information
jef-n committed Sep 17, 2016
1 parent f61c993 commit 5c5fd1f130947d03b7af2b730e385dbd9393ebf5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationreferencewidget.cpp
@@ -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 );

0 comments on commit 5c5fd1f

Please sign in to comment.
You can’t perform that action at this time.