From f8c57f7a7e03d963f6c76fba2e1e61a2846325b7 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Wed, 19 Jun 2019 13:59:07 +0200 Subject: [PATCH] making gcc4 happy --- skins/material/QskMaterialSkin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skins/material/QskMaterialSkin.cpp b/skins/material/QskMaterialSkin.cpp index fd6721dc..167d07bc 100644 --- a/skins/material/QskMaterialSkin.cpp +++ b/skins/material/QskMaterialSkin.cpp @@ -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 );