Fix dash pattern for line width < 1 pixels in Qt 4.8