Browse Source

Code clean up

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
284fbf5512
  1. 1
      src/qtlibtorrent/qtorrenthandle.cpp

1
src/qtlibtorrent/qtorrenthandle.cpp

@ -420,7 +420,6 @@ QStringList QTorrentHandle::absolute_files_path_uneeded() const { @@ -420,7 +420,6 @@ QStringList QTorrentHandle::absolute_files_path_uneeded() const {
QDir saveDir(save_path());
QStringList res;
std::vector<int> fp = torrent_handle::file_priorities();
torrent_info::file_iterator fi = torrent_handle::get_torrent_info().begin_files();
for(int i = 0; i < num_files(); ++i) {
if(fp[i] == 0) {
const QString file_path = QDir::cleanPath(saveDir.absoluteFilePath(filepath_at(i)));

Loading…
Cancel
Save