Skip to content

Avoid pointless probing for nonexisting images

Stefan Brüns requested to merge bruns/kio:avoid_qimage_format_probing into master

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.

Merge request reports

Loading