Skip to content

Commit

Permalink
No braces
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Nov 8, 2022
1 parent 22d3492 commit ddeccb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterattributetable.cpp
Expand Up @@ -1376,7 +1376,7 @@ QgsGradientColorRamp QgsRasterAttributeTable::colorRamp( QStringList &labels, co
{
return QStringLiteral( "%L1 - %L2" ).arg( orderedRat.value( rowIdx, minIdx ).toDouble() ).arg( orderedRat.value( rowIdx, maxIdx ).toDouble() );
}
const QVariant val { orderedRat.value( rowIdx, labelIdx ) };
const QVariant val( orderedRat.value( rowIdx, labelIdx ) );
bool ok { true };
QString res;
switch ( val.type() )
Expand Down

0 comments on commit ddeccb4

Please sign in to comment.