QPairVariantInterfaceImpl: init all fields

Same pattern as used for Q{Sequential,Associative}IterableImpl.

Change-Id: Iacec3266af80eecf491d2bb766c6fddd1365bdaa
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
Marc Mutz 2015-07-10 01:07:57 +02:00
parent 827f934760
commit 4927980523

View File

@ -1278,6 +1278,10 @@ public:
QPairVariantInterfaceImpl()
: _pair(Q_NULLPTR)
, _metaType_id_first(QMetaType::UnknownType)
, _metaType_flags_first(0)
, _metaType_id_second(QMetaType::UnknownType)
, _metaType_flags_second(0)
, _getFirst(Q_NULLPTR)
, _getSecond(Q_NULLPTR)
{