From 911b037fe8141aa915a9e350a2651be01a22971a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 14 May 2011 21:02:11 +0200 Subject: [PATCH] Add another pixmap safety check in Shadow creation Do not only check for null pixmaps but also that the pixmap contains a 32 bit depth as we don't want shadows without alpha. --- shadow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadow.cpp b/shadow.cpp index b229b13a30..537f464f49 100644 --- a/shadow.cpp +++ b/shadow.cpp @@ -100,7 +100,7 @@ bool Shadow::init(const QVector< long > &data) { for (int i=0; i