Skip to content
Browse files
Fix coverity unreachable code warning
Was preventing conditional formatting decorations from showing
in relation widgets
  • Loading branch information
nyalldawson committed Dec 5, 2017
1 parent 45fb6e9 commit 4671acb8752576de655be0e09b155913553b0868
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/qgsfeaturefiltermodel.cpp
@@ -140,9 +140,8 @@ QVariant QgsFeatureFilterModel::data( const QModelIndex &index, int role ) const
return mEntries.value( index.row() ).identifierValue;

case Qt::BackgroundColorRole:
case Qt::TextColorRole:
case Qt::DecorationRole:
case Qt::FontRole:
if ( mEntries.value( index.row() ).identifierValue.isNull() )

0 comments on commit 4671acb

Please sign in to comment.