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:
parent
75df855adf
commit
bfa031170e
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue