From 21ab9088b3bb31ec2a6ea7f02ab395f94b20f929 Mon Sep 17 00:00:00 2001 From: tux3 Date: Tue, 15 Sep 2015 17:58:46 +0200 Subject: [PATCH] Remove broken 'Copy friend ID' feature --- src/widget/friendwidget.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/widget/friendwidget.cpp b/src/widget/friendwidget.cpp index ed9433ee8..8d798546c 100644 --- a/src/widget/friendwidget.cpp +++ b/src/widget/friendwidget.cpp @@ -137,7 +137,6 @@ void FriendWidget::contextMenuEvent(QContextMenuEvent * event) circleMenu->addActions(circleActionList); - QAction* copyId = menu.addAction(tr("Copy friend ID","Menu to copy the Tox ID of that friend")); QAction* setAlias = menu.addAction(tr("Set alias...")); menu.addSeparator(); @@ -160,11 +159,7 @@ void FriendWidget::contextMenuEvent(QContextMenuEvent * event) if (selectedItem) { - if (selectedItem == copyId) - { - emit copyFriendIdToClipboard(friendId); - return; - } else if (selectedItem == setAlias) + if (selectedItem == setAlias) { nameLabel->editBegin(); }