Fixed that the images are not deformed

This commit is contained in:
defnax 2020-12-05 14:58:27 +01:00
parent f67153538f
commit 15d1b1c4fc

View File

@ -442,7 +442,7 @@ void GxsChannelPostItem::fill()
GxsIdDetails::loadPixmapFromData(mPost.mThumbnail.mData, mPost.mThumbnail.mSize, thumbnail,GxsIdDetails::ORIGINAL);
// Wiping data - as its been passed to thumbnail.
ui->logoLabel->setPixmap(thumbnail);
ui->logoLabel->setPicture(thumbnail);
}
else
ui->logoLabel->setPicture( FilesDefs::getPixmapFromQtResourcePath(":/images/thumb-default-video.png") );