Skip to content
Permalink
Browse files

fix warnings on windows

  • Loading branch information
jef-n committed Sep 17, 2016
1 parent bd23bf1 commit bf0087832fe6059b7a886dea6d10b24ae2fc7be8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/qgsrelationreferencewidget.cpp
@@ -473,7 +473,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 bf00878

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