File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ PyObject* PythonQtConv::ConvertQtValueToPython(const PythonQtMethodInfo::Paramet
104104 }
105105 }
106106
107- if (info.typeId >= QMetaType::User) {
107+ if (info.typeId >= QMetaType::User || info. typeId == QMetaType::QByteArrayList ) {
108108 // if a converter is registered, we use is:
109109 PythonQtConvertMetaTypeToPythonCB* converter = _metaTypeToPythonConverters.value (info.typeId );
110110 if (converter) {
@@ -670,7 +670,7 @@ void* PythonQtConv::ConvertPythonToQt(const PythonQtMethodInfo::ParameterInfo& i
670670 }
671671
672672 // We only do this for registered type > QMetaType::User for performance reasons.
673- if (info.typeId >= QMetaType::User) {
673+ if (info.typeId >= QMetaType::User || info. typeId == QMetaType::QByteArrayList ) {
674674 // Maybe we have a special converter that is registered for that type:
675675 PythonQtConvertPythonToMetaTypeCB* converter = _pythonToMetaTypeConverters.value (info.typeId );
676676 if (converter) {
You can’t perform that action at this time.
0 commit comments