mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 10:37:06 -07:00
parent
85b42fc3cf
commit
665e0967a5
1 changed files with 7 additions and 2 deletions
|
@ -426,9 +426,10 @@ void TrackerList::showTrackerListMenu(QPoint) {
|
|||
copyAct = menu.addAction(IconProvider::instance()->getIcon("edit-copy"), tr("Copy tracker url"));
|
||||
editAct = menu.addAction(IconProvider::instance()->getIcon("edit-rename"),tr("Edit selected tracker URL"));
|
||||
}
|
||||
if (!h.is_paused())
|
||||
if (!h.is_paused()) {
|
||||
menu.addSeparator();
|
||||
|
||||
reannounceAct = menu.addAction(IconProvider::instance()->getIcon("view-refresh"), tr("Force reannounce to all trackers"));
|
||||
}
|
||||
QAction *act = menu.exec(QCursor::pos());
|
||||
if (act == 0) return;
|
||||
if (act == addAct) {
|
||||
|
@ -443,6 +444,10 @@ void TrackerList::showTrackerListMenu(QPoint) {
|
|||
deleteSelectedTrackers();
|
||||
return;
|
||||
}
|
||||
if (act == reannounceAct) {
|
||||
properties->getCurrentTorrent().force_reannounce();
|
||||
return;
|
||||
}
|
||||
if (act == editAct) {
|
||||
editSelectedTracker();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue