We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4d2be5 commit 8e2509cCopy full SHA for 8e2509c
1 file changed
src/PythonQt.cpp
@@ -1339,6 +1339,10 @@ PythonQtClassInfo* PythonQtPrivate::currentClassInfoForClassWrapperCreation()
1339
1340
void PythonQtPrivate::addDecorators(QObject* o, int decoTypes)
1341
{
1342
+ if (!o)
1343
+ {
1344
+ return;
1345
+ }
1346
o->setParent(this);
1347
int numMethods = o->metaObject()->methodCount();
1348
for (int i = 0; i < numMethods; i++) {
0 commit comments