check that the image is not null

BUG:201045

svn path=/trunk/KDE/kdelibs/; revision=1016811
This commit is contained in:
Marco Martin 2009-08-29 00:04:19 +00:00
parent 87b743188e
commit 6b5a36dbd3

View File

@ -38,6 +38,9 @@ void shadowBlur(QImage &image, int radius, const QColor &color)
if (radius < 1) {
return;
}
if (image.isNull()) {
return;
}
expblur<16, 7>(image, radius);