diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2014-02-01 12:26:09 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-02 14:40:41 +0100 |
commit | 74d84f32daadbb5e8998bc13bdbb5b06642b0a56 (patch) | |
tree | 99bf355dafbc19a2e942bc26abe3ea159c36d1c1 /src/plugins/platforms/qnx/qqnxwindow.cpp | |
parent | 29cd7db616fcc1a6dd8697e48fefe8e4d44cf1a4 (diff) |
[QNX} Remove adjustBufferSize from the egl window
setGeometry will adjust the buffer for an egl window when a egl surface is created.
Adjusting the buffer somewhere else can be potentially harmful. Another reason is that
every egl window has a buffer on its own (unlike raster windows) so we do not have to
check if we have to create a buffer after reparanting.
Change-Id: I01406867a0dab598dac7d86e1f1e28ca9736a299
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxwindow.cpp')
-rw-r--r-- | src/plugins/platforms/qnx/qqnxwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/qnx/qqnxwindow.cpp b/src/plugins/platforms/qnx/qqnxwindow.cpp index 90b00efc13..bb76efea64 100644 --- a/src/plugins/platforms/qnx/qqnxwindow.cpp +++ b/src/plugins/platforms/qnx/qqnxwindow.cpp @@ -398,8 +398,6 @@ void QQnxWindow::setParent(const QPlatformWindow *window) joinWindowGroup(QByteArray()); } - adjustBufferSize(); - m_screen->updateHierarchy(); } |