SVN_SILENT minor fix according to montel
svn path=/trunk/KDE/kdelibs/; revision=889768
This commit is contained in:
parent
5a2ae9f976
commit
4b0bd4867c
@ -50,7 +50,7 @@ void shadowBlur(QImage &image, int radius, const QColor &color)
|
||||
QPixmap shadowText(QString text, QColor textColor, QColor shadowColor, QPoint offset, int radius)
|
||||
{
|
||||
//don't try to paint stuff on a future null pixmap because the text is empty
|
||||
if (text.size() == 0) {
|
||||
if (text.isEmpty()) {
|
||||
return QPixmap();
|
||||
}
|
||||
// Draw text
|
||||
|
Loading…
Reference in New Issue
Block a user