PreviewJob: Allow parallel preview creation

This allows previewJob to run as many subjobs as the protocol allows at the same time, making the thumbnail creation much faster.

It also cleans up some variables we don't need anymore, such as currentItem.

The patch can only get the full benefit if thumbnail protocol allows more than one worker. See network/kio-extras!460 (merged) for relevant merge request.

Edited by Akseli Lahtinen

Merge request reports

Loading