summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxrasterwindow.h
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2014-02-01 12:26:09 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-02 14:40:41 +0100
commit74d84f32daadbb5e8998bc13bdbb5b06642b0a56 (patch)
tree99bf355dafbc19a2e942bc26abe3ea159c36d1c1 /src/plugins/platforms/qnx/qqnxrasterwindow.h
parent29cd7db616fcc1a6dd8697e48fefe8e4d44cf1a4 (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/qqnxrasterwindow.h')
-rw-r--r--src/plugins/platforms/qnx/qqnxrasterwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxrasterwindow.h b/src/plugins/platforms/qnx/qqnxrasterwindow.h
index ad34b3ccf2..2be5f63464 100644
--- a/src/plugins/platforms/qnx/qqnxrasterwindow.h
+++ b/src/plugins/platforms/qnx/qqnxrasterwindow.h
@@ -60,6 +60,8 @@ public:
bool hasBuffers() const { return !bufferSize().isEmpty(); }
+ void setParent(const QPlatformWindow *window);
+
void adjustBufferSize();
protected: