Cleanup
authorSimon Hausmann <simon.hausmann@theqtcompany.com>
Wed, 8 Apr 2015 12:09:14 +0000 (14:09 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Tue, 14 Apr 2015 13:07:43 +0000 (13:07 +0000)
commitf136724f2cefe97fda13e942674a5e3677c8cd2e
tree5b37c876d470419204e5e4de2a143e4e8f0a3d6f
parentb902f540cda4bb523297a7a5c59520be06f30a1a
Cleanup

Avoid re-using the same variable for different purposes, so just pull in the
first use into the tight scope and the second "property" variable close to
the loop it is used with.

Change-Id: I3a325478f9e56413b65dea9c7e05566497fbc6cf
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/qqmlobjectcreator.cpp