From 4b0bd4867c0cc28c83a671859569125635696197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9nard?= Date: Thu, 27 Nov 2008 15:33:30 +0000 Subject: [PATCH] SVN_SILENT minor fix according to montel svn path=/trunk/KDE/kdelibs/; revision=889768 --- paintutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paintutils.cpp b/paintutils.cpp index 29245573f..8f868d251 100644 --- a/paintutils.cpp +++ b/paintutils.cpp @@ -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