|
|
|
@ -236,7 +236,7 @@ void PeerListWidget::showPeerListMenu(const QPoint&)
@@ -236,7 +236,7 @@ void PeerListWidget::showPeerListMenu(const QPoint&)
|
|
|
|
|
QAction *banAct = 0; |
|
|
|
|
QAction *copyPeerAct = 0; |
|
|
|
|
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(); |
|
|
|
|
banAct = menu.addAction(GuiIconProvider::instance()->getIcon("user-group-delete"), tr("Ban peer permanently")); |
|
|
|
|
emptyMenu = false; |
|
|
|
|