|
|
@ -236,7 +236,7 @@ void PeerListWidget::showPeerListMenu(const QPoint&) |
|
|
|
QAction *banAct = 0; |
|
|
|
QAction *banAct = 0; |
|
|
|
QAction *copyPeerAct = 0; |
|
|
|
QAction *copyPeerAct = 0; |
|
|
|
if (!selectionModel()->selectedRows().isEmpty()) { |
|
|
|
if (!selectionModel()->selectedRows().isEmpty()) { |
|
|
|
copyPeerAct = menu.addAction(GuiIconProvider::instance()->getIcon("edit-copy"), tr("Copy selected")); |
|
|
|
copyPeerAct = menu.addAction(GuiIconProvider::instance()->getIcon("edit-copy"), tr("Copy IP:port")); |
|
|
|
menu.addSeparator(); |
|
|
|
menu.addSeparator(); |
|
|
|
banAct = menu.addAction(GuiIconProvider::instance()->getIcon("user-group-delete"), tr("Ban peer permanently")); |
|
|
|
banAct = menu.addAction(GuiIconProvider::instance()->getIcon("user-group-delete"), tr("Ban peer permanently")); |
|
|
|
emptyMenu = false; |
|
|
|
emptyMenu = false; |
|
|
|