Skip to content

Commit 681bf84

Browse files
committed
Make sure queued connection of Signals with Python types are safe
- patch as proposed by Florian Link
1 parent 0ebaa81 commit 681bf84

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
@@ -1515,7 +1515,7 @@ QByteArray PythonQtConv::getCPPTypeName(PyObject* type)
15151515
} else if (isStringType(typeObject)) {
15161516
result = "QString";
15171517
} else {
1518-
result = "PyObject*";
1518+
result = "PythonQtSafeObjectPtr";
15191519
}
15201520
}
15211521
} else if (type == Py_None) {

0 commit comments

Comments
 (0)