diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-04-15 10:11:39 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-15 11:18:16 (GMT) |
commit | 5fed02a83a722ffa8c4ca2a50e4635ea8cc6e392 (patch) | |
tree | f83a42149ce5f0c2785a31fa2dc81e02756857ec /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp | |
parent | 4e7da9af8da61dd4e99ed847b326285d2e512636 (diff) | |
download | Qt-5fed02a83a722ffa8c4ca2a50e4635ea8cc6e392.zip Qt-5fed02a83a722ffa8c4ca2a50e4635ea8cc6e392.tar.gz Qt-5fed02a83a722ffa8c4ca2a50e4635ea8cc6e392.tar.bz2 |
BT: Fix Cocoa bug w/OpenGL widgets in dock widgets would disappear.
The NSOpenGLContext seems to be tied to the window. So if the view
changes from one window to another, the OpenGL context needs to be
cleared. We can do this by hooking into the viewWillChangeWindow and
viewDidChangeWindow events and clear and reset the drawable
respectively. We also found out that QCocoaOpenGLView was not being used
at all, so just remove it to get rid of any confusion.
Task-number: 250066
Reviewed-by: Trond
(cherry picked from commit b4234ab3f4dbd8c7017d749888b2d8effd3c5983)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp')
0 files changed, 0 insertions, 0 deletions