mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
add friend on enter key pressed #1404
This commit is contained in:
parent
99e8d71fca
commit
de423571eb
|
@ -50,6 +50,7 @@ AddFriendForm::AddFriendForm()
|
|||
head->setLayout(&headLayout);
|
||||
headLayout.addWidget(&headLabel);
|
||||
|
||||
connect(&toxId,&QLineEdit::returnPressed, this, &AddFriendForm::onSendTriggered);
|
||||
connect(&sendButton, SIGNAL(clicked()), this, SLOT(onSendTriggered()));
|
||||
connect(Nexus::getCore(), &Core::usernameSet, this, &AddFriendForm::onUsernameSet);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user