The old implementation called setGeometry() clearing the
positioning policy flag.
Change-Id: If8226f86481318e772fba37c2c195037c3d955b0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
inline void setPos(int posx, int posy) { setPos(QPoint(posx, posy)); }
void resize(const QSize &newSize);
- inline void resize(int w, int h) { setGeometry(QRect(x(), y(), w, h)); }
+ inline void resize(int w, int h) { resize(QSize(w, h)); }
void setWindowIcon(const QImage &icon) const;