changed QMetaType::Type T to int to allow registration of custom QMetaTypes

This commit is contained in:
Enoch Carter
2016-05-26 08:51:54 -06:00
parent 098655e14e
commit 35b0e9108c
4 changed files with 6 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ QByteArray MsgPack::pack(const QVariant &variant)
return arr;
}
bool MsgPack::registerPacker(QMetaType::Type qType, qint8 msgpackType, MsgPack::pack_user_f packer)
bool MsgPack::registerPacker(int qType, qint8 msgpackType, MsgPack::pack_user_f packer)
{
return MsgPackPrivate::register_packer(qType, msgpackType, packer);
}