mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 21:14:33 +00:00
- Improved tracker deletion code slightly
This commit is contained in:
parent
2699c76afd
commit
8a0681744e
@ -478,9 +478,9 @@ void properties::deleteSelectedUrlSeeds(){
|
||||
}
|
||||
|
||||
void properties::deleteSelectedTrackers(){
|
||||
QList<QListWidgetItem *> selectedItems = trackersURLS->selectedItems();
|
||||
if(!selectedItems.size()) return;
|
||||
std::vector<announce_entry> trackers = h.trackers();
|
||||
QList<QListWidgetItem *> selectedItems;
|
||||
selectedItems = trackersURLS->selectedItems();
|
||||
QListWidgetItem *item;
|
||||
unsigned int nbTrackers = trackers.size();
|
||||
if(nbTrackers == (unsigned int) selectedItems.size()){
|
||||
|
Loading…
x
Reference in New Issue
Block a user