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
265265 s << " void delete_" << meta_class->name () << " (" << meta_class->qualifiedCppName () << " * obj) { delete obj; } " ;
266266 s << endl;
267267 }
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- }
273268
274269 AbstractMetaFunctionList functions = getFunctionsToWrap (meta_class);
275270
You can’t perform that action at this time.
0 commit comments