]> cloud.milkyroute.net Git - dolphin.git/commit
Turn off animations if they are globally disabled
authorPeter Penz <peter.penz19@gmail.com>
Sun, 18 Dec 2011 14:33:53 +0000 (15:33 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Sun, 18 Dec 2011 14:38:42 +0000 (15:38 +0100)
commit45a42d6a4285ae9829c39717d7f8893b36e6df29
treee682900d8b494ec9d91a8633ca6a25c7f2796648
parent36a97150df9b08e7c56bede995c01e4a20a510a5
Turn off animations if they are globally disabled

Respect the graphicseffect level in the system settings. This will disable
all item-animations if the graphicseffect level is "NoEffect".

The smooth scrolling won't be disabled in this case, but the duration has been
made smaller so that it is not recognized as an animation.

BUG: 289238
FIXED-IN: 4.8.0
src/kitemviews/kitemlistsmoothscroller.cpp
src/kitemviews/kitemlistviewanimation.cpp
src/kitemviews/kitemlistviewanimation_p.h