Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
let travis happy
  • Loading branch information
luipir committed Feb 1, 2019
1 parent 4b3674a commit 9871c6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/raster/qgsrasterlayer.cpp
Expand Up @@ -1398,6 +1398,9 @@ bool QgsRasterLayer::writeSld( QDomNode &node, QDomDocument &doc, QString &error
case QgsHueSaturationFilter::GrayscaleAverage:
property = QStringLiteral( "average" );
break;
case QgsHueSaturationFilter::GrayscaleOff:
// added just to avoid travis fail
break;
}
if ( !property.isEmpty() )
vendorOptionWriter( QStringLiteral( "grayScale" ), property );
Expand Down

0 comments on commit 9871c6d

Please sign in to comment.