Use constFind instead of find in QQmlMetaType::qmlType
authorhjk <hjk121@nokiamail.com>
Wed, 6 Feb 2013 09:50:56 +0000 (10:50 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Feb 2013 11:00:15 +0000 (12:00 +0100)
commit40a977771a62b6c89a055d5fda2a92a12828473b
treef9af3a0eedb92a7b9f927251013147871f960114
parentf4536754b49d1aa39843dfa24c88c903a535ff35
Use constFind instead of find in QQmlMetaType::qmlType

There is no need to detach when only checking for the presence
of an item.

Change-Id: I59a0aadb74b4613b019882bcf67e84e68df18a21
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
src/qml/qml/qqmlmetatype.cpp