Disable box switch animations by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=890385
This commit is contained in:
parent
01d167d463
commit
a3d487cf92
2 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ void BoxSwitchEffect::reconfigure( ReconfigureFlags )
|
|||
|
||||
bg_opacity = conf.readEntry( "BackgroundOpacity", 25 ) / 100.0;
|
||||
elevate_window = conf.readEntry( "ElevateSelected", true );
|
||||
mAnimateSwitch = conf.readEntry( "AnimateSwitch", true );
|
||||
mAnimateSwitch = conf.readEntry( "AnimateSwitch", false );
|
||||
}
|
||||
|
||||
void BoxSwitchEffect::prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int time )
|
||||
|
|
|
@ -68,7 +68,7 @@ void BoxSwitchEffectConfig::load()
|
|||
bool elevate = conf.readEntry( "ElevateSelected", true );
|
||||
m_ui->elevateBox->setChecked( elevate );
|
||||
|
||||
bool animate = conf.readEntry( "AnimateSwitch", true );
|
||||
bool animate = conf.readEntry( "AnimateSwitch", false );
|
||||
m_ui->animateBox->setChecked( animate );
|
||||
|
||||
emit changed(false);
|
||||
|
@ -96,7 +96,7 @@ void BoxSwitchEffectConfig::defaults()
|
|||
{
|
||||
m_ui->opacitySpin->setValue( 25 );
|
||||
m_ui->elevateBox->setChecked( true );
|
||||
m_ui->animateBox->setChecked( true );
|
||||
m_ui->animateBox->setChecked( false );
|
||||
emit changed(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue