Hi,

Freedesktop.org icon themes contain icons with mime-type names that are 
accessible via QIcon::fromTheme() and widely used to use an appropriate image 
for document icons.

On Mac, using setWindowFilePath() will also show an appropriate icon next to 
the document filename, and I presume MS Windows must have a similar 
functionality.

Would it be feasible in QIcon::fromTheme() to retrieve and return those icons 
when the icon name is a mime-type, on Mac and/or MS Windows, when no theme is 
defined?

R.
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to