PreviewJob: Initialize cachesSize with 0, only pass size > 0 to shmget, improve createThumbnail

BUG: 430862

Alternative to !373 (closed)

Merge request reports

Loading