Mark QTzType as Q_PRIMITIVE_TYPE.

sizeof(QTzType) == sizeof(void*) on my platform, so it will benefit
from the type info classification.

Change-Id: I07146372da4381dba72da3718bc9c0b76a22b4fb
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
bb10
Sérgio Martins 2014-01-07 01:44:09 +00:00 committed by The Qt Project
parent 2433ee06ef
commit cd44f363ff
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ struct QTzType {
bool tz_ttisgmt; // Is in UTC time
bool tz_ttisstd; // Is in Standard time
};
Q_DECLARE_TYPEINFO(QTzType, Q_PRIMITIVE_TYPE);
// TZ File parsing