[Kget] [Bug 180132] Remaining download time does not get refreshed

Olli Salonen oasalonen at gmail.com
Fri Jan 9 21:36:31 CET 2009


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





--- Comment #2 from Olli Salonen <oasalonen gmail com>  2009-01-09 21:36:31 ---
Created an attachment (id=30076)
 --> (http://bugs.kde.org/attachment.cgi?id=30076)
patch for kget/core/transfertreemodel.cpp

The patch fixes the remaining time shown after finishing the download.

The problem seems to be with handling the remaining time updates in general in
the transfer view. They are updated after long, random (>10 seconds) intervals,
but the patch changes this to the 500 ms interval as it is for the data in
other columns.

It is a result of TransferTreeModel::timerEvent() not updating the
RemainingTime column, because it tries to match the column with changes to
TransferChange::Tc_UploadSpeed. The columns do not "respect the Models column
order" as commented in core/transfer.h, as far as I understood it.


-- 
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