Merge pull request #2167 from defnax/ui-fix-3

Fixed to use NO FRAME for Friend Request Toaster
This commit is contained in:
defnax 2020-12-18 13:22:42 +01:00 committed by GitHub
commit 40860e726e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ FriendRequestToaster::FriendRequestToaster(const RsPgpId &gpgId, const QString &
QString peerName = QString::fromUtf8(details.name.c_str());
/* set informations */
ui.avatarWidget->setFrameType(AvatarWidget::NORMAL_FRAME);
ui.avatarWidget->setFrameType(AvatarWidget::NO_FRAME);
if (knownPeer) {
ui.textLabel->setText( peerName + " " + tr("wants to be friend with you on RetroShare"));
ui.avatarWidget->setDefaultAvatar(":/images/avatar_request.png");