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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/colors
From:       David Faure <faure () kde ! org>
Date:       2010-09-21 19:35:24
Message-ID: 20100921193524.9C5B8AC88C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1177956 by dfaure:

Initialize the _effects array in all cases, says valgrind.


 M  +1 -2      kcolorscheme.cpp  


--- trunk/KDE/kdelibs/kdeui/colors/kcolorscheme.cpp #1177955:1177956
@@ -74,11 +74,10 @@
         group = "ColorEffects:Disabled";
     else if(state == QPalette::Inactive)
         group = "ColorEffects:Inactive";
-    else {
+
         _effects[0] = 0;
         _effects[1] = 0;
         _effects[2] = 0;
-    }
 
     // NOTE: keep this in sync with kdebase/workspace/kcontrol/colors/colorscm.cpp
     if(! group.isEmpty()) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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