Navigation Menu

Skip to content

Commit

Permalink
fix warnings on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 17, 2016
1 parent bd23bf1 commit bf00878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsrelationreferencewidget.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit bf00878

Please sign in to comment.