SVN_SILENT Cleaned up recent commits.

svn path=/trunk/KDE/kdebase/workspace/; revision=892363
icc-effect-5.14.5
Lucas Murray 2008-12-04 09:02:21 +00:00
parent 39d23a7ab3
commit 5413d0ec5d
5 changed files with 6 additions and 18 deletions

View File

@ -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 )

View File

@ -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 )

View File

@ -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 )

View File

@ -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();

View File

@ -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 )