summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxwindow.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/qqnxwindow.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/qqnxwindow.h')
-rw-r--r--src/plugins/platforms/qnx/qqnxwindow.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/qnx/qqnxwindow.h b/src/plugins/platforms/qnx/qqnxwindow.h
index 288ce66087..ea7b388e9f 100644
--- a/src/plugins/platforms/qnx/qqnxwindow.h
+++ b/src/plugins/platforms/qnx/qqnxwindow.h
@@ -78,7 +78,6 @@ public:
WId winId() const { return (WId)m_window; }
screen_window_t nativeHandle() const { return m_window; }
- virtual void adjustBufferSize() = 0;
void setBufferSize(const QSize &size);
QSize bufferSize() const { return m_bufferSize; }