1
0
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:
Christophe Dumez 2012-04-15 21:54:41 +03:00
parent bc6fd3aa72
commit 95e2b7ee1a

View File

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