mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix Don't show Anonymous Icon when Images are disabled in ChatWidget
This commit is contained in:
parent
a2f8b5e6e9
commit
eb75946133
@ -1016,7 +1016,7 @@ void ChatWidget::addChatMsg(bool incoming, const QString &name, const RsGxsId gx
|
||||
QString strGxsId = QString::fromStdString(gxsId.toStdString());
|
||||
rsIdentity->getIdDetails(gxsId, details);
|
||||
bool isUnsigned = !(details.mFlags & RS_IDENTITY_FLAGS_PGP_LINKED);
|
||||
if(isUnsigned) {
|
||||
if(isUnsigned && ui->textBrowser->getShowImages()) {
|
||||
QIcon icon = QIcon(":/icons/anonymous_blue_128.png");
|
||||
int height = ui->textBrowser->fontMetrics().height()*0.8;
|
||||
QImage image(icon.pixmap(height,height).toImage());
|
||||
|
Loading…
Reference in New Issue
Block a user