mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
TorrentContentModel: Get rid of useless member
This commit is contained in:
parent
0fdacf4d54
commit
e0114ebffc
3 changed files with 3 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue