[Kget] kio filecopy use too much cpu

Urs Wolfer uwolfer at kde.org
Thu Dec 27 12:50:04 CET 2007


On Tuesday 25 December 2007 19.48:44 Lukas Appelhans wrote:
> After a lot of debugging we (Manolo and I) know now that it's a KIO-Bug.
> When resuming a Transfer, the file gets cleared :/

I have looked a bit into this issue..
Could it be that line 134 in multisegkio.cpp is a problem? I have played a bit 
with that one, but no usable results. Probably
m_putJob = KIO::open(m_dest_part, QIODevice::WriteOnly | QIODevice::Append);
instead of
m_putJob = KIO::open(m_dest_part, QIODevice::WriteOnly);
?

Not sure.

Also, this change in kdelibs/kioslave/file/file.cpp could be a problem:
http://websvn.kde.org/trunk/KDE/kdelibs/kioslave/file/file.cpp?r1=645479&r2=646668

Hope this helps you.

Bye
urs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kget/attachments/20071227/1190147e/attachment.pgp 


More information about the Kget mailing list