Skip to content
Permalink
Browse files

Fix build with Qt 5.5

  • Loading branch information
m-kuhn committed Oct 26, 2017
1 parent 9c24818 commit 7c5f910de3cf918c2b21a4b6d85efcf26e16bc5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsfeaturefiltermodel.cpp
@@ -230,7 +230,7 @@ void QgsFeatureFilterModel::updateCompleter()
{
beginMoveRows( QModelIndex(), mExtraIdentifierValueIndex, mExtraIdentifierValueIndex, QModelIndex(), 0 );
#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
Entry extraEntry = mEntries.takeAt( mExtraIdentifierValueIndex, 1 );
Entry extraEntry = mEntries.takeAt( mExtraIdentifierValueIndex );
mEntries.prepend( extraEntry );
#else
mEntries.move( mExtraIdentifierValueIndex, 0 );

0 comments on commit 7c5f910

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