mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Code clean up
This commit is contained in:
parent
b9aec63e92
commit
284fbf5512
@ -420,7 +420,6 @@ QStringList QTorrentHandle::absolute_files_path_uneeded() const {
|
|||||||
QDir saveDir(save_path());
|
QDir saveDir(save_path());
|
||||||
QStringList res;
|
QStringList res;
|
||||||
std::vector<int> fp = torrent_handle::file_priorities();
|
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) {
|
for(int i = 0; i < num_files(); ++i) {
|
||||||
if(fp[i] == 0) {
|
if(fp[i] == 0) {
|
||||||
const QString file_path = QDir::cleanPath(saveDir.absoluteFilePath(filepath_at(i)));
|
const QString file_path = QDir::cleanPath(saveDir.absoluteFilePath(filepath_at(i)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user