1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Remove broken 'Copy friend ID' feature

This commit is contained in:
tux3 2015-09-15 17:58:46 +02:00
parent 9b572da5c4
commit 21ab9088b3
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -137,7 +137,6 @@ void FriendWidget::contextMenuEvent(QContextMenuEvent * event)
circleMenu->addActions(circleActionList); 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...")); QAction* setAlias = menu.addAction(tr("Set alias..."));
menu.addSeparator(); menu.addSeparator();
@ -160,11 +159,7 @@ void FriendWidget::contextMenuEvent(QContextMenuEvent * event)
if (selectedItem) if (selectedItem)
{ {
if (selectedItem == copyId) if (selectedItem == setAlias)
{
emit copyFriendIdToClipboard(friendId);
return;
} else if (selectedItem == setAlias)
{ {
nameLabel->editBegin(); nameLabel->editBegin();
} }