From bfa031170e9fd2e0b98782a4cb8ebd1aba450e1e Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Mon, 8 Mar 2010 00:29:00 +0000 Subject: [PATCH] Removed use of kglobalsettings to decide whether animations should be enabled or not. svn path=/trunk/KDE/kdebase/workspace/; revision=1100594 --- clients/oxygen/oxygenclient.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/clients/oxygen/oxygenclient.h b/clients/oxygen/oxygenclient.h index 057095a418..f28c1778c6 100644 --- a/clients/oxygen/oxygenclient.h +++ b/clients/oxygen/oxygenclient.h @@ -36,7 +36,6 @@ #include "helper.h" #include -#include #include #include @@ -80,13 +79,8 @@ namespace Oxygen //! 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