|
|
@ -349,7 +349,7 @@ void TrackerList::showTrackerListMenu(QPoint) { |
|
|
|
QMenu menu; |
|
|
|
QMenu menu; |
|
|
|
// Add actions
|
|
|
|
// Add actions
|
|
|
|
QAction *addAct = menu.addAction(IconProvider::instance()->getIcon("list-add"), tr("Add a new tracker...")); |
|
|
|
QAction *addAct = menu.addAction(IconProvider::instance()->getIcon("list-add"), tr("Add a new tracker...")); |
|
|
|
QAction *copyAct = menu.addAction(IconProvider::instance()->getIcon("list-add"), tr("Copy tracker url")); |
|
|
|
QAction *copyAct = menu.addAction(IconProvider::instance()->getIcon("edit-copy"), tr("Copy tracker url")); |
|
|
|
QAction *delAct = 0; |
|
|
|
QAction *delAct = 0; |
|
|
|
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")); |
|
|
|