mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
Reorder and rename Tracker list context menu option
Adds an ellipses to indicate that the Edit option opens a dialog. Also moves Edit to top of the list to convey action's prominence.
This commit is contained in:
parent
b481787574
commit
c89e9d4354
1 changed files with 1 additions and 1 deletions
|
@ -534,9 +534,9 @@ void TrackerListWidget::showTrackerListMenu(QPoint)
|
||||||
QAction *delAct = nullptr;
|
QAction *delAct = nullptr;
|
||||||
QAction *editAct = nullptr;
|
QAction *editAct = nullptr;
|
||||||
if (!getSelectedTrackerItems().isEmpty()) {
|
if (!getSelectedTrackerItems().isEmpty()) {
|
||||||
|
editAct = menu.addAction(GuiIconProvider::instance()->getIcon("edit-rename"),tr("Edit tracker URL..."));
|
||||||
delAct = menu.addAction(GuiIconProvider::instance()->getIcon("list-remove"), tr("Remove tracker"));
|
delAct = menu.addAction(GuiIconProvider::instance()->getIcon("list-remove"), tr("Remove tracker"));
|
||||||
copyAct = menu.addAction(GuiIconProvider::instance()->getIcon("edit-copy"), tr("Copy tracker URL"));
|
copyAct = menu.addAction(GuiIconProvider::instance()->getIcon("edit-copy"), tr("Copy tracker URL"));
|
||||||
editAct = menu.addAction(GuiIconProvider::instance()->getIcon("edit-rename"),tr("Edit selected tracker URL"));
|
|
||||||
}
|
}
|
||||||
QAction *reannounceSelAct = nullptr;
|
QAction *reannounceSelAct = nullptr;
|
||||||
QAction *reannounceAllAct = nullptr;
|
QAction *reannounceAllAct = nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue