Skip to content

Commit db15c3e

Browse files
mrbean-bremenjcfr
authored andcommitted
[Backport] Make sure queued connection of Signals with Python types are safe
- patch as proposed by Florian Link (cherry picked from commit MeVisLab/pythonqt@92af018)
1 parent d6bd0d2 commit db15c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PythonQtConversion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,7 @@ QByteArray PythonQtConv::getCPPTypeName(PyObject* type)
15161516
} else if (isStringType(typeObject)) {
15171517
result = "QString";
15181518
} else {
1519-
result = "PyObject*";
1519+
result = "PythonQtSafeObjectPtr";
15201520
}
15211521
}
15221522
} else if (type == Py_None) {

0 commit comments

Comments
 (0)