[Look and Feel and KSplash KCM] Set sourceSize for thumbnail

Authored by broulik on Jun 25 2019, 9:01 AM.

Description

[Look and Feel and KSplash KCM] Set sourceSize for thumbnail

Avoids loading huge screenshots just to show them in a tiny thumbnail.
It's using GridView.cellWidth instead of width to avoid reloading the image as the layouting
is done. Everytime sourceSize changes, the image is reloaded.

Differential Revision: https://phabricator.kde.org/D18322