Update deprecated use of setResizeMode()
Reviewed By: leinir
Differential Revision: https://phabricator.kde.org/D15232