summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptable.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-01-19 10:28:54 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-01-21 15:48:49 (GMT)
commit1e4d40aaf71469255409227d3c7105b199effcdf (patch)
tree7e7f4d41e889ac53dd421797c4929d16ac226a7c /doc/src/snippets/code/src_script_qscriptable.cpp
parent38c0ed9870fc6bd8ba759c283eaf2bffb61c2e3f (diff)
downloadQt-1e4d40aaf71469255409227d3c7105b199effcdf.zip
Qt-1e4d40aaf71469255409227d3c7105b199effcdf.tar.gz
Qt-1e4d40aaf71469255409227d3c7105b199effcdf.tar.bz2
Speed up QmlGraphicsItem construction.
It's much faster to just initalize the flags in the constructor of QmlGraphicsItemPrivate than doing a full blown QGraphicsItem::setFlags. We can perfectly do this because QmlGraphicsItem does not listen to any itemChange events related to those flags. Reviewed-by: Aaron Kennedy
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptable.cpp')
0 files changed, 0 insertions, 0 deletions