diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-06-23 13:55:30 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-06-23 13:57:13 (GMT) |
commit | 57522c3c389c133343c31770950648c3cf271406 (patch) | |
tree | c5e86aebe6fa8e957100a48e8d5e167bf6f59576 /src/opengl | |
parent | fe26a83447d50422c992bde6bd429ba3209a9222 (diff) | |
download | Qt-57522c3c389c133343c31770950648c3cf271406.zip Qt-57522c3c389c133343c31770950648c3cf271406.tar.gz Qt-57522c3c389c133343c31770950648c3cf271406.tar.bz2 |
Disable the all native child widgets on lighthouse
and make the mapping of native child widgets work with
nativeParentWidget
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qwindowsurface_gl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp index ad7c568..98455e1 100644 --- a/src/opengl/qwindowsurface_gl.cpp +++ b/src/opengl/qwindowsurface_gl.cpp @@ -290,7 +290,7 @@ QPaintEngine *QGLWindowSurfaceGLPaintDevice::paintEngine() const QGLWindowSurface::QGLWindowSurface(QWidget *window) : QWindowSurface(window), d_ptr(new QGLWindowSurfacePrivate) { - Q_ASSERT(window->isTopLevel()); +// Q_ASSERT(window->isTopLevel()); d_ptr->pb = 0; d_ptr->fbo = 0; d_ptr->ctx = 0; |