Loading
wallpapers/image: Handle when type cannot be determined
Original commit message(s)
- wallpapers/image: Handle when type cannot be determined
Based on the image's MIME type it will load different image views, e.g. vector, animated, or image. When it fails to determine that for some reason (that really shouldn't happen) it will load no image view at all and just get stuck.
Instead, load the static image view to ensure there is always one.
Reason for the change
Broke my shared-mime-database, plasma would no longer start. So this isn’t really something that should happen (it determines the image type by name, so even if the file doesn’t exist it should consider it an image) but I guess if something is broken with the system, it’s better than not getting to a desktop at all.
Test plan
Left my system broken, got a wallpaper again.