mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08: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
@ -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…
Reference in New Issue
Block a user