mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
- Slightly improved pieces selection in torrent properties
This commit is contained in:
@@ -277,8 +277,10 @@ void properties::on_select_clicked(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Save filtered pieces to a file to remember them
|
// Save filtered pieces to a file to remember them
|
||||||
|
if(selectedIndexes.size() != 0){
|
||||||
saveFilteredFiles();
|
saveFilteredFiles();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void properties::on_okButton_clicked(){
|
void properties::on_okButton_clicked(){
|
||||||
close();
|
close();
|
||||||
@@ -303,8 +305,10 @@ void properties::on_unselect_clicked(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Save filtered files to a file to remember them
|
// Save filtered files to a file to remember them
|
||||||
|
if(selectedIndexes.size() != 0){
|
||||||
saveFilteredFiles();
|
saveFilteredFiles();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void properties::saveFilteredFiles(){
|
void properties::saveFilteredFiles(){
|
||||||
torrent_info torrentInfo = h.get_torrent_info();
|
torrent_info torrentInfo = h.get_torrent_info();
|
||||||
|
|||||||
Reference in New Issue
Block a user