Browse Source

Remove "Force reannounce" action

Does not work as intended.
adaptive-webui-19844
Christophe Dumez 12 years ago
parent
commit
636e052faa
  1. 6
      src/properties/trackerlist.cpp

6
src/properties/trackerlist.cpp

@ -340,8 +340,6 @@ void TrackerList::showTrackerListMenu(QPoint) { @@ -340,8 +340,6 @@ void TrackerList::showTrackerListMenu(QPoint) {
if (!getSelectedTrackerItems().isEmpty()) {
delAct = menu.addAction(IconProvider::instance()->getIcon("list-remove"), tr("Remove tracker"));
}
menu.addSeparator();
QAction *reannounceAct = menu.addAction(IconProvider::instance()->getIcon("view-refresh"), tr("Force reannounce"));
QAction *act = menu.exec(QCursor::pos());
if (act == 0) return;
if (act == addAct) {
@ -352,10 +350,6 @@ void TrackerList::showTrackerListMenu(QPoint) { @@ -352,10 +350,6 @@ void TrackerList::showTrackerListMenu(QPoint) {
deleteSelectedTrackers();
return;
}
if (act == reannounceAct) {
properties->getCurrentTorrent().force_reannounce();
return;
}
}
void TrackerList::loadSettings() {

Loading…
Cancel
Save