The only reason I defined the size as a point here was to be able to use `toPixel` on it. Please change the type from `QPoint` to `QSize` now. :-)