making gcc4 happy

This commit is contained in:
Uwe Rathmann 2019-06-19 13:59:07 +02:00
parent 8b6e00cc68
commit f8c57f7a7e

View File

@ -485,7 +485,7 @@ void QskMaterialSkin::initTabButtonHints()
setMetric( Q::Panel | MinimumWidth, 30 ); setMetric( Q::Panel | MinimumWidth, 30 );
setMetric( Q::Panel | MinimumHeight, 16 ); setMetric( Q::Panel | MinimumHeight, 16 );
for ( auto placement : { Left, Right, Top, Bottom } ) for ( const auto placement : { Left, Right, Top, Bottom } )
{ {
const Aspect aspect = Q::Panel | placement; const Aspect aspect = Q::Panel | placement;
@ -510,7 +510,7 @@ void QskMaterialSkin::initTabButtonHints()
break; break;
default: default:
break; edge = Qt::Edge( 0 ); // making gcc4 happy
} }
setGradient( aspect, QskRgbValue::White ); setGradient( aspect, QskRgbValue::White );