1
0
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:
sudden6 2016-02-25 16:56:24 +01:00
parent c4c0740cc4
commit 1c65ec7fa6

View File

@ -297,7 +297,7 @@ void AddFriendForm::addFriendRequestWidget(const QString &friendAddress, const Q
retranslateAcceptButton(acceptButton);
QPushButton* rejectButton = new QPushButton(friendWidget);
acceptButtons.insert(rejectButton);
rejectButtons.insert(rejectButton);
connect(rejectButton, &QPushButton::released, this, &AddFriendForm::onFriendRequestRejected);
friendLayout->addWidget(rejectButton);
retranslateRejectButton(rejectButton);