diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-07-04 15:01:58 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-08-07 23:48:36 +0000 |
| commit | 02734b644e0ae566163da68dd51623943d41fb13 (patch) | |
| tree | f0dc69ac3fe9c861f175cddeeb93b28da672d2a8 /src/plugins/platforms/android/qandroidplatformopenglwindow.cpp | |
| parent | 5edeaa0720c04cb619db92a98bdcc0401774d9df (diff) | |
Android: Unconditionally set geometry when asked to via setGeometry
The geometry() of the platform window may match the incoming geometry
at the point of the call, but the native geometry of the Android layout
and view might not, so we still need to propagate it to the platform.
This matches what other platforms do in QPlatformWindow::setGeometry.
Pick-to: 6.8
Change-Id: I5f04a323412ce2ce9561cace1f0cec461c133e28
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformopenglwindow.cpp')
| -rw-r--r-- | src/plugins/platforms/android/qandroidplatformopenglwindow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/platforms/android/qandroidplatformopenglwindow.cpp b/src/plugins/platforms/android/qandroidplatformopenglwindow.cpp index cd6d37e8a11..c052b004131 100644 --- a/src/plugins/platforms/android/qandroidplatformopenglwindow.cpp +++ b/src/plugins/platforms/android/qandroidplatformopenglwindow.cpp @@ -39,9 +39,6 @@ QAndroidPlatformOpenGLWindow::~QAndroidPlatformOpenGLWindow() void QAndroidPlatformOpenGLWindow::setGeometry(const QRect &rect) { - if (rect == geometry()) - return; - QAndroidPlatformWindow::setGeometry(rect); QRect availableGeometry = screen()->availableGeometry(); |
