]> cloud.milkyroute.net Git - dolphin.git/commit
Prevent generating previews all the time during downloading a large file
authorPeter Penz <peter.penz19@gmail.com>
Mon, 9 Jan 2012 21:10:12 +0000 (22:10 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Mon, 9 Jan 2012 21:18:24 +0000 (22:18 +0100)
commit69f68a2349a6a8ef568ecb0a72f4f0e3f1903144
tree1a61c470e3466a48bcd3c4bde9ab5e64ce007ffe
parentfc600ed2554fb767865b297039a94e5fc653f6b9
Prevent generating previews all the time during downloading a large file

When downloading a large file the preview should not be recreated each time
a change-notification has been received. Create the preview after getting
the first file change, but postpone creating the next previews until no change
has been done during a longer period of time.

BUG: 290698
FIXED-IN: 4.8.0
src/kitemviews/kfileitemmodelrolesupdater.cpp
src/kitemviews/kfileitemmodelrolesupdater.h