mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #4632
anthony.bilinski (1): fix(friends): Friend request button target location
This commit is contained in:
commit
b0d11b442f
@ -365,9 +365,9 @@ void AddFriendForm::retranslateUi()
|
||||
|
||||
onIdChanged(toxId.text());
|
||||
|
||||
tabWidget->setTabText(0, tr("Add a friend"));
|
||||
tabWidget->setTabText(1, tr("Import contacts"));
|
||||
tabWidget->setTabText(2, tr("Friend requests"));
|
||||
tabWidget->setTabText(AddFriend, tr("Add a friend"));
|
||||
tabWidget->setTabText(ImportContacts, tr("Import contacts"));
|
||||
tabWidget->setTabText(FriendRequest, tr("Friend requests"));
|
||||
|
||||
for (QPushButton* acceptButton : acceptButtons) {
|
||||
retranslateAcceptButton(acceptButton);
|
||||
|
@ -42,8 +42,8 @@ public:
|
||||
enum Mode
|
||||
{
|
||||
AddFriend = 0,
|
||||
FriendRequest = 1,
|
||||
GroupInvite = 2
|
||||
ImportContacts = 1,
|
||||
FriendRequest = 2
|
||||
};
|
||||
|
||||
AddFriendForm();
|
||||
|
Loading…
x
Reference in New Issue
Block a user