making gcc4 happy
This commit is contained in:
parent
8b6e00cc68
commit
f8c57f7a7e
@ -485,7 +485,7 @@ void QskMaterialSkin::initTabButtonHints()
|
||||
setMetric( Q::Panel | MinimumWidth, 30 );
|
||||
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;
|
||||
|
||||
@ -510,7 +510,7 @@ void QskMaterialSkin::initTabButtonHints()
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
edge = Qt::Edge( 0 ); // making gcc4 happy
|
||||
}
|
||||
|
||||
setGradient( aspect, QskRgbValue::White );
|
||||
|
Loading…
x
Reference in New Issue
Block a user