]> cloud.milkyroute.net Git - dolphin.git/commitdiff
let the selection toggle fade in faster (based on user feedback from http://ppenz...
authorPeter Penz <peter.penz19@gmail.com>
Tue, 1 Apr 2008 16:25:25 +0000 (16:25 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Tue, 1 Apr 2008 16:25:25 +0000 (16:25 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=792581

src/selectiontoggle.cpp

index fa10c7559a6bcf4ccf5e84c448b85e7e1d9c4b49..14ec048404714d760c541ed28a5c0c8b0a243502 100644 (file)
@@ -182,7 +182,7 @@ void SelectionToggle::startFading()
     Q_ASSERT(m_fadingTimeLine == 0);
 
     const bool animate = KGlobalSettings::graphicEffectsLevel() & KGlobalSettings::SimpleAnimationEffects;
-    const int duration = animate ? 1500 : 1;
+    const int duration = animate ? 600 : 1;
 
     m_fadingTimeLine = new QTimeLine(duration, this);
     connect(m_fadingTimeLine, SIGNAL(frameChanged(int)),