| Summary: | Download % on title bar not correctly updated | ||
|---|---|---|---|
| Product: | [Applications] kget | Reporter: | FiNeX <finex> |
| Component: | Core | Assignee: | KGet bugs <kget-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jgoday |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Update the mainwindow window title when a transfer is removed or stopped | ||
|
Description
FiNeX
2008-11-20 23:20:34 UTC
Created attachment 28727 [details]
Update the mainwindow window title when a transfer is removed or stopped
Attach a patch to solve this problems:
1- Update the kget window title when a transfer is removed too (MainWindowGroupObserver::removedTransferEvent)
2- We only show the percent of the active transfers (Call to updateTitle when a transfer status is changed)
@Javier: I've tested the patch and it works perfectly. You can commit it :-) Thanks! No, it's wrong actually... If a Transfer's status changes the group status does not automatically change... ;) We should better go with a clean sollution, probably update the title from GenericTransferObserver? Lukas Why not tell the TransferGroup about the transfer changes using the GenericTransferObserver::transferChangedEvent ? something like transfer->group()->setGroupChange([Some conversion between the transfer and the group changeFlags], true); It's a change of the Transfer, not of the Group actually... Lukas SVN commit 900895 by jgoday: BUG: 175715 Add a transferObserver to the mainWindow to upload the titleBar M +23 -4 mainwindow.cpp M +20 -2 mainwindow.h WebSVN link: http://websvn.kde.org/?view=rev&revision=900895 |