summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-01-29 10:39:06 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-02-06 08:33:49 (GMT)
commit086461ea7b6953211b340c783d266e4e0da5d7f5 (patch)
treeccc1898333255261542babdf7339e0f1f3ba2936 /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
parent6a231b241a628fcd9aef01a7e353ac55707b1aa0 (diff)
downloadQt-086461ea7b6953211b340c783d266e4e0da5d7f5.zip
Qt-086461ea7b6953211b340c783d266e4e0da5d7f5.tar.gz
Qt-086461ea7b6953211b340c783d266e4e0da5d7f5.tar.bz2
Fix GL texture leaks when pixmaps are deleted
This fixes quite a lot of issues: * QtOpenGL only registered qpixmap destruction hooks on X11 and those only cleanup the EGL/GLX surface, not the texture object. * The QPixmap destruction hooks were only being called from the QPixmap destructor. However, this means when a QPixmap is assigned to another QPixmap, the hooks don't get called. Task-number: QTBUG-7647 Reviewed-By: Samuel Reviewed-By: Trond (cherry picked from commit 9e95ce2a68ef167e17dccc5789cbf3bf74712280)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions