Revert the API change

Authored by ivan on Jun 3 2020, 6:05 PM.

Description

Revert the API change

The recent change to the API (const QSize& to plain QSize) broke the
build of packages that depend on akonadi. This reverts that change.