summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptable.cpp
diff options
context:
space:
mode:
authorFabien Freling <fabien.freling@nokia.com>2011-01-25 14:23:34 (GMT)
committerFabien Freling <fabien.freling@nokia.com>2011-01-26 11:25:48 (GMT)
commit26d25ab46900d84b44e451c2a0a986bfed94a3f4 (patch)
treebbc66fa6f2d1c4f0126663efbadbaddc1020b686 /doc/src/snippets/code/src_script_qscriptable.cpp
parent85b8631c2f30947e3c8364c903a4f85abb8f11e2 (diff)
downloadQt-26d25ab46900d84b44e451c2a0a986bfed94a3f4.zip
Qt-26d25ab46900d84b44e451c2a0a986bfed94a3f4.tar.gz
Qt-26d25ab46900d84b44e451c2a0a986bfed94a3f4.tar.bz2
Move the flushing to [view drawRect:rect]
Instead of flushing by grabbing the Core Graphics context, we do it directly in the drawRect: method. This approach allows us to call flush() many times and only proceed to flush when the system is ready. Reviewed-by: Richard Moe Gustavsen
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptable.cpp')
0 files changed, 0 insertions, 0 deletions