Remove duplicated template code.
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>
Fri, 23 Mar 2012 16:14:52 +0000 (17:14 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Apr 2012 01:29:55 +0000 (03:29 +0200)
commit4b023e248747a589f2402b03f1967b999e3bb3b8
tree2da3714f8abfbdc8a22c06ccdd824a9937576009
parent97f251b8c3654ffdf0ea3df3c610935549a7eba9
Remove duplicated template code.

Unify TypeDefinitions specializations. I'm not aware of any reason why
QVariant should have a separate set of supported types during
bootstrapping phase. It would cause only crashes.

As a side effect the patch reduces size of core and gui libraries.

Change-Id: I5140d9d3daee39a0171bc718bf46dab6b28085ec
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
src/corelib/kernel/qmetatype.cpp
src/corelib/kernel/qmetatype_p.h
src/corelib/kernel/qvariant.cpp
src/gui/kernel/qguivariant.cpp