mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Code clean up
This commit is contained in:
@@ -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)));
|
||||||
|
|||||||
Reference in New Issue
Block a user