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:
parent
9b572da5c4
commit
21ab9088b3
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user