Missing KCompletionMatches copy operator
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sun Dec 2 21:26:14 GMT 2007
Hi,
due to a missing copy operator I get a crash (on windows) when konqueror
tries to display historyPopupCompletionItems.
It happens because msvc (don't know if/how this works with gcc) creates
a default copy ctor which does not copy the d-ptr correctly -> double
free d-ptr -> crash.
Afaics therer are also other classes which have d-ptr but no copy ctor
(at least KCompletionBase and KCompletion).
The attached patch fix the issue for KCompletionMatches.
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdeui.patch
Type: text/x-diff
Size: 1215 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071202/08f412f4/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071202/08f412f4/attachment.sig>
More information about the kde-core-devel
mailing list