[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeartwork/styles/plastik
From:       Sandro Giessl <sandro () giessl ! com>
Date:       2004-06-07 18:01:56
Message-ID: 20040607180156.47BD62737 () office ! kde ! org
[Download RAW message or body]

CVS commit by giessl: 

Fix dcgui-qt crash.

CCMAIL: honza@spitalnik.net


  M +3 -0      plastik.cpp   1.81


--- kdeartwork/styles/plastik/plastik.cpp  #1.80:1.81
@@ -858,4 +858,7 @@ void PlastikStyle::renderGradient(QPaint
                                         bool horizontal) const
 {
+    if((r.width() <= 0)||(r.height() <= 0))
+        return;
+
     int r_w = r.width();
     int r_h = r.height();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic