[Kde-bindings] [Qyoto] crash when using QList returned by QMimeData.Urls
Dimitar Dobrev
dpldobrev at yahoo.com
Thu Feb 21 11:12:41 UTC 2013
Pushed. It actually turned out that your patch fixes that QPrinterInfo bug as well so I reverted all marshallers that had used value lists.
Thanks a lot for all your work.
Best regards,
Dimitar
________________________________
From: David Lechner <david at lechnology.com>
To: kde-bindings at kde.org
Sent: Thursday, February 21, 2013 1:29 AM
Subject: Re: [Kde-bindings] [Qyoto] crash when using QList returned by QMimeData.Urls
On 2/20/2013 3:32 PM, Dimitar Dobrev wrote:
>
> Thank you. However, there is one last detail - could you make sure
> it works with the GetInstance call.
Added it back in and it works.
> The thing is that GetInstance retrieves a pointer from a mapping
> between managed objects and their unmanaged counterparts. This mapping
> guarantees that if you called, say, QTableView.SelectionModel twice,
> you'd get the same managed object. So you can see that calls to
> GetInstance cannot be simply ignored.
I was thinking that since this is a "value" list that we would always pass a copy because these special type objects are treated more like values (like int) than an object. I suppose that this may not be desired in some cases though.
The attachment is a comprehensive patch that includes all of my changes.
_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20130221/6c114027/attachment.html>
More information about the Kde-bindings
mailing list