summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_gui_util_qundostack.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-09-08 15:09:00 +0200
committerTom Cooksey <thomas.cooksey@nokia.com>2009-09-08 18:36:16 +0200
commit31d8058a32a1d2d2d6bc1ba3d48f5a382d7b87a7 (patch)
treee9402324bd0eadd51802a3df9b43157639f01123 /doc/src/snippets/code/src_gui_util_qundostack.cpp
parente3e7cf545116c194bd5cfe79b28ea37c8bf78219 (diff)
downloadqt4-tools-31d8058a32a1d2d2d6bc1ba3d48f5a382d7b87a7.tar.gz
Make QGLPixmapData work with the new QGLPaintDevice API
This patch changes the ordering of QGL2PaintEngine::begin a bit because QGLPixmapData needs to use the paint engine's drawTexture method within beginPaint(). Also, this initialises needsSync to true and removes the setState call. So now all the state initialisation is done in ensureActive rather than begin.
Diffstat (limited to 'doc/src/snippets/code/src_gui_util_qundostack.cpp')
0 files changed, 0 insertions, 0 deletions