Browse Source

- Improved tracker deletion code slightly

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
8a0681744e
  1. 4
      src/properties_imp.cpp

4
src/properties_imp.cpp

@ -478,9 +478,9 @@ void properties::deleteSelectedUrlSeeds(){ @@ -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…
Cancel
Save