Skip to content
Permalink
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 4671acb
Showing 1 changed file with 1 addition and 2 deletions.
@@ -140,9 +140,8 @@ QVariant QgsFeatureFilterModel::data( const QModelIndex &index, int role ) const
return mEntries.value( index.row() ).identifierValue;

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

0 comments on commit 4671acb

Please sign in to comment.