Skip to content
  • Mathias Wein's avatar
    Fix saving files with extreme aspect ratio · 67aad01f
    Mathias Wein authored
    Saving failed because thumbnail generation didn't take into account
    that scaling a QSize with KeepAspectRatio may round one dimension down
    to zero.
    This caused even the recovery path to generate an invalid thumbnail
    image and saving aborted.
    
    BUG:460624
    (cherry picked from commit 392fd207)
    67aad01f