mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 09:41:29 -05:00
Fixed that the images are not deformed
This commit is contained in:
parent
f67153538f
commit
15d1b1c4fc
@ -442,7 +442,7 @@ void GxsChannelPostItem::fill()
|
|||||||
GxsIdDetails::loadPixmapFromData(mPost.mThumbnail.mData, mPost.mThumbnail.mSize, thumbnail,GxsIdDetails::ORIGINAL);
|
GxsIdDetails::loadPixmapFromData(mPost.mThumbnail.mData, mPost.mThumbnail.mSize, thumbnail,GxsIdDetails::ORIGINAL);
|
||||||
// Wiping data - as its been passed to thumbnail.
|
// Wiping data - as its been passed to thumbnail.
|
||||||
|
|
||||||
ui->logoLabel->setPixmap(thumbnail);
|
ui->logoLabel->setPicture(thumbnail);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ui->logoLabel->setPicture( FilesDefs::getPixmapFromQtResourcePath(":/images/thumb-default-video.png") );
|
ui->logoLabel->setPicture( FilesDefs::getPixmapFromQtResourcePath(":/images/thumb-default-video.png") );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user