diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2009-10-06 08:40:04 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-10-07 02:31:40 (GMT) |
commit | 2065122db7a12a133f082cb21582c9a853dddd2d (patch) | |
tree | 8a369849cdd02fa368ac7dd95afe2e71556843da /doc/src/snippets/code/src_gui_util_qundostack.cpp | |
parent | 3e37395c10c15db20dff89afece0392aae4fd407 (diff) | |
download | Qt-2065122db7a12a133f082cb21582c9a853dddd2d.zip Qt-2065122db7a12a133f082cb21582c9a853dddd2d.tar.gz Qt-2065122db7a12a133f082cb21582c9a853dddd2d.tar.bz2 |
Fixed the X11 error output from the demos/boxes demo.
After we started caching the current context internally, it revealed
an old bug: when a QGLWidget is reparented under X11, it will
get a new window id, but its context will still be bound to the
old window, so we need to rebind it.
Reviewed-by: Samuel
(cherry picked from commit 6d56096ba0f88e25efd77072f58804dd1f160c0a)
Diffstat (limited to 'doc/src/snippets/code/src_gui_util_qundostack.cpp')
0 files changed, 0 insertions, 0 deletions