mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05:00
Fixed the Msg Feed Item too
This commit is contained in:
parent
c4b6c34dbe
commit
54f040c17a
@ -117,19 +117,28 @@ void MsgItem::updateItemStatic()
|
||||
|
||||
if (!mIsHome)
|
||||
{
|
||||
if (mi.msgflags & RS_MSG_USER_REQUEST)
|
||||
{
|
||||
title = QString::fromUtf8(mi.title.c_str()) + " " + tr("from") + " " + srcName;
|
||||
replyButton->setText(tr("Reply to invite"));
|
||||
subjectLabel->hide();
|
||||
inviteFrame->show();
|
||||
}
|
||||
else
|
||||
{
|
||||
title = tr("Message From") + ": " + srcName;
|
||||
sendinviteButton->hide();
|
||||
inviteFrame->hide();
|
||||
}
|
||||
if ((mi.msgflags & RS_MSG_USER_REQUEST) && (!mi.rsgxsid_srcId.isNull()))
|
||||
{
|
||||
title = QString::fromUtf8(mi.title.c_str()) + " " + tr("from") + " " + srcName;
|
||||
replyButton->setText(tr("Reply to invite"));
|
||||
subjectLabel->hide();
|
||||
inviteFrame->show();
|
||||
}
|
||||
else if ((mi.msgflags & RS_MSG_USER_REQUEST) && mi.rsgxsid_srcId.isNull())
|
||||
{
|
||||
title = QString::fromUtf8(mi.title.c_str()) + " " + " " + srcName;
|
||||
subjectLabel->hide();
|
||||
inviteFrame->show();
|
||||
infoLabel->setText(tr("This message invites you to make friend! You may accept this request."));
|
||||
sendinviteButton->hide();
|
||||
replyButton->hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
title = tr("Message From") + ": " + srcName;
|
||||
sendinviteButton->hide();
|
||||
inviteFrame->hide();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -161,10 +161,6 @@
|
||||
<property name="text">
|
||||
<string>Reply Message</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>:/images/mail_reply.png</normaloff>:/images/mail_reply.png</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
Loading…
x
Reference in New Issue
Block a user