mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
Merge pull request #973 from PhenomRetroShare/Fix_DontShowAnonIconWhenImageDisabled
Fix Don't show Anonymous Icon when Images are disabled in ChatWidget
This commit is contained in:
commit
0636142a41
@ -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