Skip to content
  • Oliver Sander's avatar
    Avoid division by zero in updateLineDash · 5e1a83db
    Oliver Sander authored
    Qt measures dash patterns in terms of line width.
    This means that you have to divide by the width,
    which doesn't work if the line width is 'cosmetic',
    i.e., zero. The Qt documentation states that this
    case should be treated as if the line width
    was 1 pixel.
    
    BUG: 695
    5e1a83db