Reimplement QMetaType::create method.
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>
Tue, 6 Mar 2012 12:47:52 +0000 (13:47 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Mar 2012 22:04:18 +0000 (23:04 +0100)
commitdfba10441ea1645ea7183f4b1486366bb4562f39
tree2d2af97cf3923e3349e38bb3fddb03fd88bc7bff
parentd6311a06515221e41edb69722b571080c08d11ce
Reimplement QMetaType::create method.

The method was reimplemented using QMetaTypeSwitcher. That should
reduce maintenance costs, because types list is populated automatically
now.

Change-Id: I6637f7b928218ce60b2ec7436079a44089f0e00f
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/kernel/qmetatype.cpp