avoiding some pedantic compiler warnings
This commit is contained in:
parent
e746870cbb
commit
b3e4360ad1
@ -106,13 +106,10 @@ namespace
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
inline BorderValuesUniform( const QskBoxRenderer::Metrics& metrics ):
|
inline BorderValuesUniform( const QskBoxRenderer::Metrics& metrics ):
|
||||||
m_corner( metrics.corner[0] )
|
m_corner( metrics.corner[0] ),
|
||||||
|
m_dx1( m_corner.radiusInnerX ),
|
||||||
|
m_dy1( m_corner.radiusInnerY )
|
||||||
{
|
{
|
||||||
if ( m_corner.isCropped )
|
|
||||||
{
|
|
||||||
m_dx1 = m_corner.radiusInnerX;;
|
|
||||||
m_dy1 = m_corner.radiusInnerY;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void setAngle( qreal cos, qreal sin )
|
inline void setAngle( qreal cos, qreal sin )
|
||||||
@ -546,6 +543,7 @@ namespace
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
Line* linesBR, * linesTR, * linesTL, * linesBL;
|
Line* linesBR, * linesTR, * linesTL, * linesBL;
|
||||||
|
linesBR = linesTR = linesTL = linesBL = nullptr;
|
||||||
|
|
||||||
const int numCornerLines = stepCount + 1;
|
const int numCornerLines = stepCount + 1;
|
||||||
int numFillLines = fillLines ? 2 * numCornerLines : 0;
|
int numFillLines = fillLines ? 2 * numCornerLines : 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user