From 49dc6e5bcd86d06c0dc3033e419af1daacef7953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9nard?= Date: Fri, 9 Jan 2009 16:53:50 +0000 Subject: [PATCH] Backport 908392 from trunk QImage.fill take a uint not a QColor so this color (Qt::transparent enum with 19 as a value) is invalid. svn path=/branches/KDE/4.2/kdelibs/; revision=908395 --- paintutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paintutils.cpp b/paintutils.cpp index c9444af05..72c538130 100644 --- a/paintutils.cpp +++ b/paintutils.cpp @@ -80,7 +80,7 @@ QPixmap shadowText(QString text, const QFont &font, QColor textColor, QColor sha //Draw blurred shadow QImage img(textRect.size() + QSize(radius * 2, radius * 2), QImage::Format_ARGB32_Premultiplied); - img.fill(Qt::transparent); + img.fill(0); p.begin(&img); p.drawImage(QPoint(radius, radius), textPixmap.toImage()); p.end();