File icon-load-crash-fix.patch of Package psi+

---
 src/tools/iconset/iconset.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/tools/iconset/iconset.cpp
+++ b/src/tools/iconset/iconset.cpp
@@ -1297,7 +1297,7 @@ public:
 
 					QByteArray ba = loadData(graphic[*it], dir);
 
-					if ( icon.loadFromData( ba, isAnimated ) ) {
+					if ( !ba.isEmpty() && icon.loadFromData( ba, isAnimated ) ) {
 						loadSuccess = true;
 						break;
 					}
openSUSE Build Service is sponsored by