KDE/kdelibs/kio

Bram Schoenmakers bramschoenmakers at kde.nl
Mon Oct 9 19:04:47 BST 2006


Op maandag 09 oktober 2006 18:20, schreef David Faure:
> SVN commit 593946 by dfaure:
>
> Refactored KFileItem to use QSharedDataPointer - which means that it's now
> allowed to use KFileItem as a value, copying it is cheap, since it's now
> implicitly shared. All the current code uses it as a pointer, which is
> still fine of course, but using it as a value in the future can simplify
> things like PreviewJob, which used to crash due to sometimes keeping a
> pointer to a deleted kfileitem.
> Refcounting KFileItems is what Waldo has been advocating for a very long
> time btw, I'm glad to honor his wish after so many years :)
> Michael, this is also something to keep in mind if/when rewriting
> KDirLister.

Could that have possibly fixed bugs 45938 and 126132?

Kind regards,

-- 
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

GPG - 0x4890861528516B16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061009/d50865eb/attachment.sig>


More information about the kde-core-devel mailing list