diff options
author | Jędrzej Nowacki <jedrzej.nowacki@nokia.com> | 2012-02-03 12:54:25 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-07 08:53:18 +0100 |
commit | b8cf1d6bdcaefaa610014a742808af3ab2c6fe06 (patch) | |
tree | 39d3acf1f3469b52024dff2cc159f7fe90ad9637 /dist/changes-3.2.0-b1 | |
parent | 56265031b763736163f1a229a7e7e6b7aaec8a36 (diff) |
Remove QMetaType::unregisterType().
The function hasn't been working properly. It was not well tested, for
example it is undefined how QVariant should behave if it contains an
instance of an unregistered type.
Concept of unregistering types was inspired by plug-in system, but in
most supported platforms we do not unload plug-ins.
Idea of type unregistering may block optimizations in meta object
system, because it would be not possible to cache a type id.
QMetaType::type() could return different ids for the same name.
Currently QMetaType::unregisterType() is not used in Qt.
Change-Id: I878b6e8d91de99f9bcefeab73af2e2ba0bd0cba0
Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'dist/changes-3.2.0-b1')
0 files changed, 0 insertions, 0 deletions