Skip to content
  • Halla Rempt's avatar
    BUG:366713 Fix using the temporary target · ebc8a43c
    Halla Rempt authored
    A line like
    
    QRect rect = temporaryTarget() ? temporaryTarget()->extent() : QRect();
    
    is dangerous, since the paint device might be gone between the check
    and the use. It's better to get a local shared pointer to the paint
    device and check that.
    ebc8a43c