mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Force venue icon format.
This commit is contained in:
@@ -298,6 +298,10 @@ void VenuesController::rowPaintIcon(
|
||||
QSize(inner, inner) * ratio,
|
||||
Qt::IgnoreAspectRatio,
|
||||
Qt::SmoothTransformation);
|
||||
if (!data.icon.isNull()) {
|
||||
data.icon = data.icon.convertToFormat(
|
||||
QImage::Format_ARGB32_Premultiplied);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user