Hello.
I am constructing QIcon and passing in a string file name.
How do I detect if this has failed? It seems like if I deliberately construct it with garbage the icon is simply empty but I can't see anything in http://doc.qt.nokia.com/latest/qicon-members.html that describes success/failure of this load.
Any ideas? (Other than asking QFile, it might be nice to know if the file was not an icon, for example)
Bookmarks