Fix mimetype for directory icon
The current code assumes the icon will be a PNG file, but most of our icons these days are SVGs. Use QMimeDatabase to get the correct type.
The current code assumes the icon will be a PNG file, but most of our icons these days are SVGs. Use QMimeDatabase to get the correct type.