mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Improved updateDlList code
- Added some ASSERTS
This commit is contained in:
parent
c19937cf98
commit
6951619c04
3 changed files with 17 additions and 11 deletions
|
@ -164,7 +164,7 @@ void FinishedTorrents::on_actionSet_upload_limit_triggered(){
|
|||
}
|
||||
|
||||
void FinishedTorrents::updateFinishedList(){
|
||||
// qDebug("Updating finished list");
|
||||
Q_ASSERT((GUI*)parent->getCurrentTabIndex() == 1);
|
||||
QString hash;
|
||||
foreach(hash, finishedSHAs){
|
||||
torrent_handle h = BTSession->getTorrentHandle(hash);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue