SVN_SILENT minor fix according to montel

svn path=/trunk/KDE/kdelibs/; revision=889768
This commit is contained in:
Alexis Ménard 2008-11-27 15:33:30 +00:00
parent 5a2ae9f976
commit 4b0bd4867c

View File

@ -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