summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-04-15 10:11:39 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-15 11:18:16 (GMT)
commit5fed02a83a722ffa8c4ca2a50e4635ea8cc6e392 (patch)
treef83a42149ce5f0c2785a31fa2dc81e02756857ec /doc/src/snippets/code/src_sql_kernel_qsqlquery.cpp
parent4e7da9af8da61dd4e99ed847b326285d2e512636 (diff)
downloadQt-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