Ensure that the notification avatar is drawn with no pen

(cherry picked from commit 419b4cea98)
This commit is contained in:
Joshua Goins
2023-08-14 17:13:20 -04:00
parent 7534f293c5
commit e332179ac4

View File

@@ -294,6 +294,7 @@ QPixmap NotificationsManager::createNotificationImage(const QImage &icon, NeoCha
QPainter painter(&roundedImage);
painter.setRenderHint(QPainter::SmoothPixmapTransform);
painter.setPen(Qt::NoPen);
// Fill background for transparent avatars
painter.setBrush(Qt::white);