mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 00:47:21 -06:00
TorrentContentModel code clean up
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user