TorrentContentModel: Get rid of useless member

This commit is contained in:
Christophe Dumez 2012-08-26 18:26:06 +03:00
commit e0114ebffc
3 changed files with 3 additions and 12 deletions

View file

@ -166,8 +166,8 @@ void TorrentContentModelFolder::updateProgress()
if (child->priority() > 0)
m_totalDone += child->totalDone();
}
//qDebug("Folder: total_done: %llu/%llu", total_done, getSize());
Q_ASSERT(m_totalDone <= size());
Q_ASSERT(m_totalDone <= m_size);
setProgress(m_totalDone);
}