iotdashboard crash fixed
This commit is contained in:
parent
7d7eb87cbd
commit
d80f9780fc
|
@ -241,7 +241,10 @@ namespace QskVertex
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( value > value0 )
|
if ( value > value0 )
|
||||||
contourIt.setGradientLine( value, colorIt.color(), l++ );
|
{
|
||||||
|
if ( contourIt.setGradientLine( value, colorIt.color(), l ) )
|
||||||
|
l++;
|
||||||
|
}
|
||||||
|
|
||||||
colorIt.advance();
|
colorIt.advance();
|
||||||
}
|
}
|
||||||
|
|
|
@ -752,8 +752,10 @@ static inline int qskFillLineCount(
|
||||||
lineCount += qMax( metrics.corner[ BottomLeft ].stepCount,
|
lineCount += qMax( metrics.corner[ BottomLeft ].stepCount,
|
||||||
metrics.corner[ BottomRight ].stepCount ) + 1;
|
metrics.corner[ BottomRight ].stepCount ) + 1;
|
||||||
|
|
||||||
|
#if 0
|
||||||
if ( metrics.centerQuad.top >= metrics.centerQuad.bottom )
|
if ( metrics.centerQuad.top >= metrics.centerQuad.bottom )
|
||||||
lineCount--;
|
lineCount--;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else if ( dir.isHorizontal() )
|
else if ( dir.isHorizontal() )
|
||||||
{
|
{
|
||||||
|
@ -763,8 +765,10 @@ static inline int qskFillLineCount(
|
||||||
lineCount += qMax( metrics.corner[ TopRight ].stepCount,
|
lineCount += qMax( metrics.corner[ TopRight ].stepCount,
|
||||||
metrics.corner[ BottomRight ].stepCount ) + 1;
|
metrics.corner[ BottomRight ].stepCount ) + 1;
|
||||||
|
|
||||||
|
#if 0
|
||||||
if ( metrics.centerQuad.left >= metrics.centerQuad.right )
|
if ( metrics.centerQuad.left >= metrics.centerQuad.right )
|
||||||
lineCount--;
|
lineCount--;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue