diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2012-05-15 15:40:58 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-18 21:42:58 +0200 |
commit | 8df298665a1e637ab6d26d5fcc447d5502afe31a (patch) | |
tree | 9d36f54835b70b04bd6ae0bc72aee2a8ea659143 /src/corelib/kernel/qmetatype_p.h | |
parent | 6c06e14a49773ce5572935864ed6b9be219c6103 (diff) |
Move QIcon metatype handlers back to QtGui
QIcon has been moved back from QWidget to QtGui, so the QIcon QVariant
and QMetaType handler can now be moved back to QtGui.
Also we can give back QIcon its old number, allowing to get rid of some
compatibility hack when unstreaming QVariant
Change-Id: I439d5c2987c06ecd619f394407850f678164afb8
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/corelib/kernel/qmetatype_p.h')
-rw-r--r-- | src/corelib/kernel/qmetatype_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/kernel/qmetatype_p.h b/src/corelib/kernel/qmetatype_p.h index b593489963..cffc45c988 100644 --- a/src/corelib/kernel/qmetatype_p.h +++ b/src/corelib/kernel/qmetatype_p.h @@ -236,6 +236,9 @@ template<> struct TypeDefinition<QVector4D> { static const bool IsAvailable = fa #ifdef QT_NO_QUATERNION template<> struct TypeDefinition<QQuaternion> { static const bool IsAvailable = false; }; #endif +#ifdef QT_NO_ICON +template<> struct TypeDefinition<QIcon> { static const bool IsAvailable = false; }; +#endif } //namespace QtMetaTypePrivate QT_END_NAMESPACE |