- Improved updateDlList code

- Added some ASSERTS
This commit is contained in:
Christophe Dumez 2007-07-29 15:17:50 +00:00
parent c19937cf98
commit 6951619c04
3 changed files with 17 additions and 11 deletions

View file

@ -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);