mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Force venue icon format.
This commit is contained in:
parent
37907636e6
commit
ee6edf9caa
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue