[Development] QTreeWidgetItem clone

Baicai culiudabaicai at yeah.net
Thu Apr 2 05:20:09 CEST 2015



Hi All,

 QTreeWidgetItem uses the copy constructor to implement its clone method. It does not copy item's type, but there isn't a setType method to modify it. So the clone method is a bit useless in this sense. Is there any reason not to copy the item's type? Or I'm not using it correctly

Best Regards,
Baicai

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150402/a0c6e473/attachment.html>


More information about the Development mailing list