[Kget] [PATCH][BUG 184127] Kget closes automatically when a download is marked as finished in the list

Nikhil Marathe nsm.nikhil at gmail.com
Wed Apr 15 04:14:30 CEST 2009


Hi,

https://bugs.kde.org/show_bug.cgi?id=184127

This is a fix for when KGet closes as soon as it starts up because all
downloads are finished. I have added another member m_startState to
Job which keeps track of what State it was in when the job was first
created. All finished downloads then stay in the same state, while new
downloads move from Stopped to Finished.
GenericTransferObserver::allTransfersFinished() has been changed to
reflect appropriate logic ( which is a bit convoluted ). Hopefully my
path of fixing won't be architecturally bad.

The patch should be applied in kdenetwork/kget

Cheers
Nikhil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug184127.patch
Type: text/x-patch
Size: 4024 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kget/attachments/20090415/b8b9f7d1/attachment-0001.patch 


More information about the Kget mailing list