From: Peter Penz Date: Tue, 1 Apr 2008 16:25:25 +0000 (+0000) Subject: let the selection toggle fade in faster (based on user feedback from http://ppenz... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/afb9e2d1323f269bd410265c08212643c612a3b3?ds=inline let the selection toggle fade in faster (based on user feedback from http://ppenz.blogspot.com/2008/04/selecting-items.html) svn path=/trunk/KDE/kdebase/apps/; revision=792581 --- diff --git a/src/selectiontoggle.cpp b/src/selectiontoggle.cpp index fa10c7559..14ec04840 100644 --- a/src/selectiontoggle.cpp +++ b/src/selectiontoggle.cpp @@ -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)),