summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h
index 57c2f6f755..629e462da0 100644
--- a/src/gui/kernel/qwindow.h
+++ b/src/gui/kernel/qwindow.h
@@ -192,7 +192,7 @@ public:
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;