┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/viewsettingspage.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-06-29 21:04:43 +0000
committerPeter Penz <[email protected]>2008-06-29 21:04:43 +0000
commit1f3607bdc1f9c4c39049079a973d5027187512c2 (patch)
treea76d53bd4692dcf8414d24be9d86626e488fb3fa /src/viewsettingspage.cpp
parentfdd06835fce2624043febb2e518e7debf9243df9 (diff)
Move the block for resizing the preview, applying an item effect + border to the slot where the preview has been received. This reduces the blocking of the GUI for the following usecase:
- folder with 1000 items - ~30 items are visible Old approach: - Show the 30 items as soon as possible. - Receive preview and add it to the queue. This is done asynchronously 970 times (no UI blocking). - Iterate through 970 items, resize, apply item effect + border and apply the preview to the model (-> blocking of UI thread for more than 3 seconds). New approach: - Show the 30 items as soon as possible. - Receive preview, resize it, apply item effect + border and add it to the queue. This is done asynchronously 970 times (no UI blocking). - Iterate through 970 items and apply the preview to the model (-> UI thread is blocked only very short). svn path=/trunk/KDE/kdebase/apps/; revision=826109
Diffstat (limited to 'src/viewsettingspage.cpp')
0 files changed, 0 insertions, 0 deletions