mirror of
https://github.com/thp/pyotherside.git
synced 2025-02-05 08:08:23 +08:00
Add support for QVariantHash
Convert QVariantHash to python dict just like QVariantMap
This commit is contained in:
parent
371554ff79
commit
74aac9e7e1
@ -144,6 +144,7 @@ class QVariantConverter : public Converter<QVariant> {
|
||||
case QMetaType::QStringList:
|
||||
return LIST;
|
||||
case QMetaType::QVariantMap:
|
||||
case QMetaType::QVariantHash:
|
||||
return DICT;
|
||||
case QMetaType::UnknownType:
|
||||
return NONE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user