summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-12-20 04:29:19 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-12-21 04:29:02 (GMT)
commit1476bf8d45b4f1ab6c56770939eb81c4c1b390ad (patch)
treeaeb94ca0a60e994be3e3f4eec55252d2fa505812 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
parent6b37f71b318445a338c4afe5ba8a5ccaff573518 (diff)
downloadQt-1476bf8d45b4f1ab6c56770939eb81c4c1b390ad.zip
Qt-1476bf8d45b4f1ab6c56770939eb81c4c1b390ad.tar.gz
Qt-1476bf8d45b4f1ab6c56770939eb81c4c1b390ad.tar.bz2
Optimize name lookup for QDeclarativeProperty.
If the property is constructed by passing in the property name (and we've verified that it is valid), we can cache that name immediately rather than reconstructing it on the first call to name(). Task-number: QTBUG-15331 Reviewed-by: Martin Jones
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions