Menu

#69 Fix crash when QwtSetSample does not contain samples

None
closed
nobody
None
5
2019-06-20
2019-05-23
No

The attached patch fixes a crash when drawing QwtSetSample without sub-samples. This use case is possible in complex histogram graps where each bar corresponds to a collection of entities, not some physical value. Thus it's possible that some samples contain nothing.

1 Attachments

Discussion

  • Uwe Rathmann

    Uwe Rathmann - 2019-06-20

    The patch returns an invalid rectangle in both directions, while we have a proper value for at least one direction. So I didn't take the patch as it is, but the crash should be solved in all branches >= 6.1

     
  • Uwe Rathmann

    Uwe Rathmann - 2019-06-20
    • status: open --> closed
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB