From 1fd9f9aa92e44e0e05a6ebdb02cd3282e4ad4f5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Wed, 2 Jul 2008 13:31:54 +0000 Subject: [PATCH] Make default duration of translucency effect a bit longer for a smoother fading effect. svn path=/trunk/KDE/kdebase/workspace/; revision=827263 --- effects/maketransparent_config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/effects/maketransparent_config.cpp b/effects/maketransparent_config.cpp index 70de7ed70e..86e1630afa 100644 --- a/effects/maketransparent_config.cpp +++ b/effects/maketransparent_config.cpp @@ -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);