summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-07-31 11:57:08 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-01 00:14:41 +0200
commit39df773eb5926621d1a742ed5af574933028b2a8 (patch)
tree12454b35b0ba658e48bf5521b8a105fd991767f7 /lib
parenta0be8ef271bb77c54676625f6f1cbdaf29857196 (diff)
Avoid qobject_cast
This is slightly faster, and also avoids accessing the object's meta object that would cause any lazily created meta objects (e.g., for QML) from being built. This is just a port of commit a5972f8ec32631e70578c64e9d6c063b3c47f0f5 (which fixed QGuiApplication, but not QApplication). Change-Id: I0d5080495aa4fd4486db297968c4d06bbfacf89b Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions