TorrentContentModel code clean up

This commit is contained in:
Christophe Dumez 2012-08-26 20:52:53 +03:00
commit c43c362903
4 changed files with 7 additions and 8 deletions

View file

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