mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-05 22:57:25 +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()) {
|
if (!getSelectedTrackerItems().isEmpty()) {
|
||||||
delAct = menu.addAction(IconProvider::instance()->getIcon("list-remove"), tr("Remove tracker"));
|
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());
|
QAction *act = menu.exec(QCursor::pos());
|
||||||
if (act == 0) return;
|
if (act == 0) return;
|
||||||
if (act == addAct) {
|
if (act == addAct) {
|
||||||
|
@ -352,10 +350,6 @@ void TrackerList::showTrackerListMenu(QPoint) {
|
||||||
deleteSelectedTrackers();
|
deleteSelectedTrackers();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (act == reannounceAct) {
|
|
||||||
properties->getCurrentTorrent().force_reannounce();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TrackerList::loadSettings() {
|
void TrackerList::loadSettings() {
|
||||||
|
|
Loading…
Reference in a new issue