A few things.
* Please don't implement this method inline.
* Please use `QList::append` instead of the `QList::push_back` STL-compatibility alias.
* Please do the comparison like `mCurrentObject->typeId() == Object::MapObjectType` instead of doing a `dynamic_cast`.
* Please put the `*` together with the variable name rather than with the type (just a coding style thing).
* Remove the `static_cast` since it's superfluous.