check that the image is not null
BUG:201045 svn path=/trunk/KDE/kdelibs/; revision=1016811
This commit is contained in:
parent
87b743188e
commit
6b5a36dbd3
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user