[Thumbnails] Paint larger "one thumbnail" tile only when needed

Authored by broulik on Oct 8 2018, 2:23 PM.

Description

[Thumbnails] Paint larger "one thumbnail" tile only when needed

When there is only one thumbnail it is painted larger. This pixmap is always generated, even if we
ended up creating more than one thumbnail.
This patch makes it remember the first valid thumbnail and paints the larger pixmap only as needed.

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