mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
Replace prio namespace with FilePriority enum class
This commit is contained in:
@@ -52,9 +52,9 @@ int TorrentContentModelFile::fileIndex() const
|
||||
return m_fileIndex;
|
||||
}
|
||||
|
||||
void TorrentContentModelFile::setPriority(int newPriority, bool updateParent)
|
||||
void TorrentContentModelFile::setPriority(BitTorrent::FilePriority newPriority, bool updateParent)
|
||||
{
|
||||
Q_ASSERT(newPriority != prio::MIXED);
|
||||
Q_ASSERT(newPriority != BitTorrent::FilePriority::Mixed);
|
||||
|
||||
if (m_priority == newPriority)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user