Skip to content

Don't attempt to load a nonexistant image when creating thumbnails

Nicolas Fella requested to merge work/emptythumb into master

When given a path that doesn't exist QImage tries loading that path plus the extensions of all image formats it knows

This causes unneeded syscalls

We can check once whether the file exists and only attempt to load the image if we know it is there

CCBUG: 458491

Merge request reports

Loading