[Kde-bindings] [Qyoto] crash when using QList returned by QMimeData.Urls
David Lechner
david at lechnology.com
Wed Feb 20 03:43:33 UTC 2013
Thanks for the advice. I reverted the commit that you mentioned and
halfway fixes the problem. I say halfway because I am now getting the
proper pointer to the object, but I still have a problem because now the
destructor for the QUrl object is being called before the .isLocalFile()
function is called. As a result, if the memory for QUrl.d has not been
reused yet .isLocalFile() returns false (which is wrong) or if it has
been written over, then I still crash with a segmentation fault.
So now, the question is where do I need to tell the native code to not
destroy my QUrl object?
More information about the Kde-bindings
mailing list