mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-04 04:14:24 -04:00
Fix to use RGBA32
This commit is contained in:
parent
1efed9d436
commit
43afcf3f98
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,7 @@ bool CreateGxsChannelMsg::setThumbNail(const std::string& path, int frame){
|
|||
if(imageBuffer == NULL)
|
||||
return false;
|
||||
|
||||
QImage tNail(imageBuffer, width, height, QImage::Format_RGB32);
|
||||
QImage tNail(imageBuffer, width, height, QImage::Format_RGBA32);
|
||||
QByteArray ba;
|
||||
QBuffer buffer(&ba);
|
||||
bool has_transparency = ImageUtil::hasAlphaContent(tNail.toImage());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue