Default animation duration should be the same in ui as in the effect

svn path=/trunk/KDE/kdebase/workspace/; revision=798111
This commit is contained in:
Martin Gräßlin 2008-04-17 14:20:22 +00:00
parent 4c77b8c85d
commit a6e32ded65
2 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ void CoverSwitchEffectConfig::load()
KConfigGroup conf = EffectsHandler::effectConfig( "CoverSwitch" );
int duration = conf.readEntry( "Duration", 300 );
int duration = conf.readEntry( "Duration", 200 );
bool animateSwitch = conf.readEntry( "AnimateSwitch", true );
bool animateStart = conf.readEntry( "AnimateStart", true );
bool animateStop = conf.readEntry( "AnimateStop", true );
@ -123,7 +123,7 @@ void CoverSwitchEffectConfig::save()
void CoverSwitchEffectConfig::defaults()
{
m_ui->spinDuration->setValue( 300 );
m_ui->spinDuration->setValue( 200 );
m_ui->checkAnimateSwitch->setCheckState( Qt::Checked );
m_ui->checkAnimateStart->setCheckState( Qt::Checked );
m_ui->checkAnimateStop->setCheckState( Qt::Checked );

View file

@ -63,7 +63,7 @@
<number>5000</number>
</property>
<property name="value" >
<number>300</number>
<number>200</number>
</property>
</widget>
</item>