mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Code clean up
This commit is contained in:
parent
b9aec63e92
commit
284fbf5512
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue