Skip to content


Fix coverity unreachable code warning
Browse files Browse the repository at this point in the history
Was preventing conditional formatting decorations from showing
in relation widgets
  • Loading branch information
nyalldawson committed Dec 5, 2017
1 parent 45fb6e9 commit 4671acb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/qgsfeaturefiltermodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() )
Expand Down

0 comments on commit 4671acb

Please sign in to comment.