File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -265,11 +265,6 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c
265
265
s << " void delete_" << meta_class->name () << " (" << meta_class->qualifiedCppName () << " * obj) { delete obj; } " ;
266
266
s << endl;
267
267
}
268
- if (meta_class->name ()==" QTreeWidgetItem" ) {
269
- s << " bool py_hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; }" << endl;
270
- } else if (meta_class->name ()==" QGraphicsItem" ) {
271
- s << " bool py_hasOwner(QGraphicsItem* theWrappedObject) { return theWrappedObject->scene()!=NULL || theWrappedObject->parentItem()!=NULL; }" << endl;
272
- }
273
268
274
269
AbstractMetaFunctionList functions = getFunctionsToWrap (meta_class);
275
270
You can’t perform that action at this time.
0 commit comments