more explicit checking for failing to create thumbnail
I think this should solve the issues with empty thumbnails in Dolphin (i. e. let it draw the icon instead).
I think this should solve the issues with empty thumbnails in Dolphin (i. e. let it draw the icon instead).