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

svn path=/trunk/KDE/kdebase/workspace/; revision=1100594
This commit is contained in:
Hugo Pereira Da Costa 2010-03-08 00:29:00 +00:00
parent 75df855adf
commit bfa031170e

View file

@ -36,7 +36,6 @@
#include "helper.h"
#include <kcommondecoration.h>
#include <KGlobalSettings>
#include <QtCore/QBasicTimer>
#include <QtCore/QTimerEvent>
@ -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