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

Rémy Greinhofer remy.greinhofer at gmail.com
Thu Feb 12 11:59:21 CET 2009


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





--- Comment #1 from Rémy Greinhofer <remy greinhofer gmail com>  2009-02-12 11:59:21 ---
After a quick search in the SVN, I think the problem might come from the file
Kget.cpp, in the function void TransferFinishedObserver::checkAndFinish().

There is a loop:
foreach(TransferGroup *transferGroup,
KGet::m_transferTreeModel->transferGroups()) {
                         foreach(TransferHandler *transfer,
transferGroup->handler()->transfers()) {
                             if(transfer->status() != Job::Finished) {
                                 quitFlag = false;
                             }
                         }
                     }
I think in this loop, there should be an additional check to check whether the
download was finished in a previous session or not.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kget mailing list