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