KDEPlatformDialogHelper explicitly resizes the window contents to the
window as part of a bug fix. This means we lose the common path where
the window resizes to the content's size hints that happens later.
If we resize the window to the size hint in advance we keep our size
(alternatively it seems to be me we can remove that old hack...but it
needs testing by people with Qt5.12)