Fix the search of QML types.
authorRoberto Raggi <roberto.raggi@nokia.com>
Tue, 23 Aug 2011 16:17:51 +0000 (18:17 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 30 Aug 2011 11:18:28 +0000 (13:18 +0200)
commit7eef3bb9aa6af439f5ac01b3efb20b04d7c8ca62
treeb6256910753e85c5853ea3d3c338585461e1df03
parentf43d20c5ef549e39f1db571e16c35dcb0d55c61b
Fix the search of QML types.

Stop iterating the multi hash as soon as we find an element with
a different key.

Change-Id: Ie474708229b4040e66b17ceffc5be787856bc905
Reviewed-on: http://codereview.qt.nokia.com/3799
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/declarative/qml/qdeclarativemetatype.cpp