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

List:       kde-commits
Subject:    branches/KDE/4.4/kdebase/workspace/kwin/clients/oxygen
From:       Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date:       2010-03-08 0:33:13
Message-ID: 1268008393.019623.20534.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1100595 by hpereiradacosta:

Backport r1100594
Removed use of kglobalsettings to decide whether animations should be enabled or not.



 M  +1 -7      oxygenclient.h  


--- branches/KDE/4.4/kdebase/workspace/kwin/clients/oxygen/oxygenclient.h #1100594:1100595
@@ -36,7 +36,6 @@
 #include "lib/helper.h"
 
 #include <kcommondecoration.h>
-#include <KGlobalSettings>
 #include <QtCore/QBasicTimer>
 #include <QtCore/QTimerEvent>
 
@@ -80,13 +79,8 @@
 
 
         //! true if animations are used
-        /*! this combines OxygenConfiguration and KGlobalSettings */
         bool useAnimations( void ) const
-        {
-          return
-            configuration().useAnimations() &&
-            KGlobalSettings::graphicEffectsLevel() >= KGlobalSettings::SimpleAnimationEffects;
-        }
+        { return configuration().useAnimations(); }
 
         //! true if glow is animated
         bool glowIsAnimated( void ) const
[prev in list] [next in list] [prev in thread] [next in thread] 

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