diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-07-27 06:32:57 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-07-27 07:58:10 (GMT) |
commit | e7c239407698f2a5d4f4b4000ecdd5969025fe1c (patch) | |
tree | 29df59f4269439f6d11f89ce80127d7e7ccbd73b /src/plugins/platforms/eglfs | |
parent | c984a856ccf72731da052ff8bdae88fe3921fc83 (diff) | |
download | Qt-e7c239407698f2a5d4f4b4000ecdd5969025fe1c.zip Qt-e7c239407698f2a5d4f4b4000ecdd5969025fe1c.tar.gz Qt-e7c239407698f2a5d4f4b4000ecdd5969025fe1c.tar.bz2 |
Made QPlatformWidnow::glContext a const function
Diffstat (limited to 'src/plugins/platforms/eglfs')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfswindow.cpp | 2 | ||||
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfswindow.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp index db15862..86cc98b 100644 --- a/src/plugins/platforms/eglfs/qeglfswindow.cpp +++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp @@ -71,7 +71,7 @@ WId QEglFSWindow::winId() const -QPlatformGLContext *QEglFSWindow::glContext() +QPlatformGLContext *QEglFSWindow::glContext() const { #ifdef QEGL_EXTRA_DEBUG qWarning("QEglWindow::glContext %p\n", m_screen->platformContext()); diff --git a/src/plugins/platforms/eglfs/qeglfswindow.h b/src/plugins/platforms/eglfs/qeglfswindow.h index f605cf4..0c3bc84 100644 --- a/src/plugins/platforms/eglfs/qeglfswindow.h +++ b/src/plugins/platforms/eglfs/qeglfswindow.h @@ -56,11 +56,12 @@ class QEglFSWindow : public QPlatformWindow { public: QEglFSWindow(QWidget *w, QEglFSScreen *screen); - QPlatformGLContext *glContext(); void setGeometry(const QRect &); WId winId() const; + QPlatformGLContext *glContext() const; + private: QEglFSScreen *m_screen; WId m_winid; |