Added an assert to help Qt Creator realize the intended import name
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Tue, 25 Jan 2011 19:41:55 +0000 (20:41 +0100)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Tue, 25 Jan 2011 19:44:06 +0000 (20:44 +0100)
commit6e43163823f105976460583aa02da0a4f1da4434
tree7b1f70905ca9dea1c0670635f29f8d2de9328617
parent9a5f415753f2959f6093d109e2c88e3b7ef9be9d
Added an assert to help Qt Creator realize the intended import name

This makes "import Box2D 1.0" be recognized in the QML editor in
Qt Creator. It does restrict the name to "Box2D" at least for debug
builds, but that can also be considered a feature.
box2dplugin.cpp