diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-11-24 11:53:58 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-24 13:37:32 +0100 |
commit | 90b67743d1bdcb6d98e7d10d2b304b500285ec58 (patch) | |
tree | 0d59a60a081942a868216c9d85bbce4a778839b8 /src/gui | |
parent | 290c4f89883b6c848ea7c83f66a562e5be706a27 (diff) |
emit width/height changes for the new rect
Change-Id: I789a45bc60aaa949d18e9fb72a186a259548ec1d
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qguiapplication.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index 7e60689a2d..a329f99931 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -792,9 +792,9 @@ void QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePr window->d_func()->resizeEventPending = false; if (cr.width() != newRect.width()) - window->widthChanged(cr.width()); + window->widthChanged(newRect.width()); if (cr.height() != newRect.height()) - window->heightChanged(cr.height()); + window->heightChanged(newRect.height()); } if (isMove) { @@ -803,9 +803,9 @@ void QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePr QGuiApplication::sendSpontaneousEvent(window, &e); if (cr.x() != newRect.x()) - window->xChanged(cr.x()); + window->xChanged(newRect.x()); if (cr.y() != newRect.y()) - window->yChanged(cr.y()); + window->yChanged(newRect.y()); } } |