From 4e6da919f3fab7704c04865972d9e27feb2dc953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9nard?= Date: Fri, 9 Jan 2009 16:50:27 +0000 Subject: [PATCH] QImage.fill take a uint not a QColor so this color (Qt::transparent enum with 19 as a value) is invalid. svn path=/trunk/KDE/kdelibs/; revision=908392 --- 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();