Skip to content
  • Stefan Brüns's avatar
    Avoid pointless probing for nonexisting thumbnail images · ef76b22b
    Stefan Brüns authored
    QImage::load(<path>) tries to find a fallback image if the file does
    not exist, by appending extensions of all supported file formats, as
    QImageReader defaults to format autodetection.
    
    Check if the file exists, and only then try to load it.
    ef76b22b