Browse Source

- Fix compilation error on some machines

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
ac2473da6d
  1. 2
      src/eventmanager.cpp

2
src/eventmanager.cpp

@ -95,7 +95,7 @@ QList<QVariantMap> EventManager::getPropFilesInfo(QString hash) const {
QTorrentHandle h = BTSession->getTorrentHandle(hash); QTorrentHandle h = BTSession->getTorrentHandle(hash);
if(!h.is_valid()) return files; if(!h.is_valid()) return files;
std::vector<int> priorities = h.file_priorities(); std::vector<int> priorities = h.file_priorities();
std::vector<long long int> fp; std::vector<size_type> fp;
h.file_progress(fp); h.file_progress(fp);
torrent_info t = h.get_torrent_info(); torrent_info t = h.get_torrent_info();
torrent_info::file_iterator fi; torrent_info::file_iterator fi;

Loading…
Cancel
Save