From 636e052faa9e83535d1519a333cc9fa219067a32 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 16 Jan 2013 20:03:32 +0200 Subject: [PATCH] Remove "Force reannounce" action Does not work as intended. --- src/properties/trackerlist.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/properties/trackerlist.cpp b/src/properties/trackerlist.cpp index f7f63be37..3db762faf 100644 --- a/src/properties/trackerlist.cpp +++ b/src/properties/trackerlist.cpp @@ -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) { deleteSelectedTrackers(); return; } - if (act == reannounceAct) { - properties->getCurrentTorrent().force_reannounce(); - return; - } } void TrackerList::loadSettings() {