diff options
author | Jędrzej Nowacki <jedrzej.nowacki@nokia.com> | 2012-02-13 13:01:59 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-16 01:56:05 +0100 |
commit | 18965b1384cb3f85dc9e2d9c961c343331e8bd47 (patch) | |
tree | 594b22d8880a5376c165eb2d53b43364056aa75b /src/corelib/kernel | |
parent | 1747f66457420e970b9402e6418693e17a950a6f (diff) |
Add QMetaType::FirstCoreType enum value.
We should not assume that the first type id is 0.
Change-Id: I17ba6ba57e97ebd495904bfd11235fe458f214e5
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r-- | src/corelib/kernel/qmetatype.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h index 9e702298c1..ff3f9341e4 100644 --- a/src/corelib/kernel/qmetatype.h +++ b/src/corelib/kernel/qmetatype.h @@ -184,6 +184,7 @@ public: // these are merged with QVariant QT_FOR_EACH_STATIC_TYPE(QT_DEFINE_METATYPE_ID) + FirstCoreType = Void, LastCoreType = QModelIndex, FirstGuiType = QFont, LastGuiType = QPolygonF, |