Skip to content
  • Mathias Wein's avatar
    Pass QPointF to widget->shape conversion function · 2345024a
    Mathias Wein authored
    There is no reason to truncate values when QMouseEvent provides
    a QPointF and subsequent calculation are all float too.
    
    NOTE: Qt 5.12 does not appear to calculate QMouseEvent::localPos() with
    with fractional precision yet even though it definitely should with
    fractional UI scaling, and windowPos() does so.
    2345024a