mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix wrong text on button
This commit is contained in:
parent
c4c0740cc4
commit
1c65ec7fa6
|
@ -297,7 +297,7 @@ void AddFriendForm::addFriendRequestWidget(const QString &friendAddress, const Q
|
||||||
retranslateAcceptButton(acceptButton);
|
retranslateAcceptButton(acceptButton);
|
||||||
|
|
||||||
QPushButton* rejectButton = new QPushButton(friendWidget);
|
QPushButton* rejectButton = new QPushButton(friendWidget);
|
||||||
acceptButtons.insert(rejectButton);
|
rejectButtons.insert(rejectButton);
|
||||||
connect(rejectButton, &QPushButton::released, this, &AddFriendForm::onFriendRequestRejected);
|
connect(rejectButton, &QPushButton::released, this, &AddFriendForm::onFriendRequestRejected);
|
||||||
friendLayout->addWidget(rejectButton);
|
friendLayout->addWidget(rejectButton);
|
||||||
retranslateRejectButton(rejectButton);
|
retranslateRejectButton(rejectButton);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user