[solved]How to check absence of icon in the resources
-
bq. "bool QIcon::isNull() const":http://qt-project.org/doc/qt-5.0/qicon.html#isNull
Returns true if the icon is empty; otherwise returns false.
An icon is empty if it has neither a pixmap nor a filename.
Note: Even a non-null icon might not be able to create valid pixmaps, eg. if the file does not exist or cannot be read.Use QFile::exists() instead.