summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@trolltech.com>2009-04-15 12:14:27 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-15 22:01:57 (GMT)
commit4f32aaebc26709daf449b460f3be68592bd29d12 (patch)
tree546e8a9263070ecb5593ae9013717833a979c922 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
parent5595bb2f99d5d6a3c8bb20d3f150915cddc560de (diff)
downloadQt-4f32aaebc26709daf449b460f3be68592bd29d12.zip
Qt-4f32aaebc26709daf449b460f3be68592bd29d12.tar.gz
Qt-4f32aaebc26709daf449b460f3be68592bd29d12.tar.bz2
Update the item if the text has changed but the boundingRect is the
same. updateBoudingRect update the item only if the boundingRect change but if we have 123 as an initial text and then we set 321 as the new text, then nothing happen because the rect is the same. In case the boundingRect change then we call update 2 times but the item is already dirty so the second call will just return. BT:yes Reviewed-by: Andreas (cherry picked from commit 36b16a126e24cb8d8e5c34cfd807bc7c51ea49cf)
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions