mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
TorrentContentModel code clean up
This commit is contained in:
parent
268dad58f6
commit
c43c362903
4 changed files with 7 additions and 8 deletions
|
@ -66,7 +66,7 @@ int TorrentContentModelFile::fileIndex() const
|
|||
|
||||
void TorrentContentModelFile::setPriority(int new_prio, bool update_parent)
|
||||
{
|
||||
Q_ASSERT(new_prio != prio::PARTIAL);
|
||||
Q_ASSERT(new_prio != prio::MIXED);
|
||||
|
||||
if (m_priority == new_prio)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue