Skip to content

Commit

Permalink
Add missing break in switch to fix P3K conversion
Browse files Browse the repository at this point in the history
for QVariant::ByteArray
  • Loading branch information
iakov authored and usiems committed Nov 3, 2021
1 parent 8137f1f commit fb16d6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PythonQtConversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,7 @@ QVariant PythonQtConv::PyObjToQVariant(PyObject* val, int type)
#else
v = QVariant(PyObjGetString(val, false, ok));
#endif
break;
}
case QVariant::String:
{
Expand Down Expand Up @@ -1595,4 +1596,4 @@ PyObject* PythonQtConv::convertFromPythonQtSafeObjectPtr(const void* /* PythonQt
// extra ref count, since we are supposed to return a newly refcounted object
Py_XINCREF(obj);
return obj;
}
}

0 comments on commit fb16d6e

Please sign in to comment.