mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Fix compilation warning
This commit is contained in:
parent
bc6fd3aa72
commit
95e2b7ee1a
@ -71,7 +71,7 @@ void TorrentContentModel::updateFilesPriorities(const std::vector<int> &fprio)
|
|||||||
std::vector<int> TorrentContentModel::getFilesPriorities() const
|
std::vector<int> TorrentContentModel::getFilesPriorities() const
|
||||||
{
|
{
|
||||||
std::vector<int> prio;
|
std::vector<int> prio;
|
||||||
for (uint i=0; i<m_filesIndex.size(); ++i) {
|
for (int i=0; i<m_filesIndex.size(); ++i) {
|
||||||
prio.push_back(m_filesIndex[i]->getPriority());
|
prio.push_back(m_filesIndex[i]->getPriority());
|
||||||
}
|
}
|
||||||
return prio;
|
return prio;
|
||||||
|
Loading…
Reference in New Issue
Block a user