Replace obsolete QWidget::getContentsMargins
Change deprecated QWidget::getContentsMargins with QWidget::contentsMargins
Differential Revision: https://phabricator.kde.org/D27290