mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-16 05:01:37 +03:00
Remove "Force reannounce" action
Does not work as intended.
This commit is contained in:
parent
6e1f250470
commit
636e052faa
1 changed files with 0 additions and 6 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue