SVN_SILENT Cleaned up recent commits.
svn path=/trunk/KDE/kdebase/workspace/; revision=892363icc-effect-5.14.5
parent
39d23a7ab3
commit
5413d0ec5d
|
@ -62,10 +62,7 @@ CoverSwitchEffect::~CoverSwitchEffect()
|
|||
|
||||
bool CoverSwitchEffect::supported()
|
||||
{
|
||||
if( effects->compositingType() == OpenGLCompositing )
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
return effects->compositingType() == OpenGLCompositing;
|
||||
}
|
||||
|
||||
void CoverSwitchEffect::reconfigure( ReconfigureFlags )
|
||||
|
|
|
@ -94,10 +94,7 @@ CubeEffect::CubeEffect()
|
|||
|
||||
bool CubeEffect::supported()
|
||||
{
|
||||
if( effects->compositingType() == OpenGLCompositing )
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
return effects->compositingType() == OpenGLCompositing;
|
||||
}
|
||||
|
||||
void CubeEffect::reconfigure( ReconfigureFlags )
|
||||
|
|
|
@ -58,10 +58,7 @@ FlipSwitchEffect::~FlipSwitchEffect()
|
|||
|
||||
bool FlipSwitchEffect::supported()
|
||||
{
|
||||
if( effects->compositingType() == OpenGLCompositing )
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
return effects->compositingType() == OpenGLCompositing;
|
||||
}
|
||||
|
||||
void FlipSwitchEffect::reconfigure( ReconfigureFlags )
|
||||
|
|
|
@ -1124,8 +1124,8 @@ void PresentWindowsEffect::setActive( bool active )
|
|||
if( isSelectableWindow( w ))
|
||||
m_motionManager.manage( w );
|
||||
}
|
||||
if ( m_motionManager.managedWindows().isEmpty() ||
|
||||
( ( m_motionManager.managedWindows().count() == 1 ) && m_motionManager.managedWindows().first()->isOnCurrentDesktop() ) )
|
||||
if( m_motionManager.managedWindows().isEmpty() ||
|
||||
(( m_motionManager.managedWindows().count() == 1 ) && m_motionManager.managedWindows().first()->isOnCurrentDesktop() ))
|
||||
{ // No point triggering if there is nothing to do
|
||||
m_activated = false;
|
||||
m_windowData.clear();
|
||||
|
|
|
@ -72,10 +72,7 @@ SnowEffect::~SnowEffect()
|
|||
|
||||
bool SnowEffect::supported()
|
||||
{
|
||||
if( effects->compositingType() == OpenGLCompositing )
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
return effects->compositingType() == OpenGLCompositing;
|
||||
}
|
||||
|
||||
void SnowEffect::reconfigure( ReconfigureFlags )
|
||||
|
|
Loading…
Reference in New Issue