Make default duration of translucency effect a bit longer for a smoother fading effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=827263
This commit is contained in:
Sebastian Kügler 2008-07-02 13:31:54 +00:00
parent dae3a2e511
commit 1fd9f9aa92

View file

@ -76,7 +76,7 @@ void MakeTransparentEffectConfig::setIndividualMenuConfig(int state)
m_ui->popupmenus->setEnabled( state == Qt::Checked ? true : false );
m_ui->popupmenus_label->setEnabled( state == Qt::Checked ? true : false );
m_ui->tornoffmenus->setEnabled( state == Qt::Checked ? true : false );
m_ui->tornoffmenus_label->setEnabled( state == Qt::Checked ? true : false );
m_ui->tornoffmenus_label->setEnabled( state == Qt::Checked ? true : false );
}
void MakeTransparentEffectConfig::load()
@ -95,7 +95,7 @@ void MakeTransparentEffectConfig::load()
m_ui->dropdownmenus->setValue( (int)( conf.readEntry( "DropdownMenus", 1.0) * 100 ) );
m_ui->popupmenus->setValue( (int)( conf.readEntry( "PopupMenus", 1.0) * 100 ) );
m_ui->tornoffmenus->setValue( (int)( conf.readEntry( "TornOffMenus", 1.0) * 100 ) );
m_ui->duration->setValue( conf.readEntry( "Duration", 1500) );
m_ui->duration->setValue( conf.readEntry( "Duration", 1800) );
setIndividualMenuConfig( m_ui->individualmenuconfig->isChecked() ? Qt::Checked : Qt::Unchecked );
emit changed(false);