Ensure that the notification avatar is drawn with no pen
(cherry picked from commit 419b4cea98)
This commit is contained in:
@@ -294,6 +294,7 @@ QPixmap NotificationsManager::createNotificationImage(const QImage &icon, NeoCha
|
|||||||
|
|
||||||
QPainter painter(&roundedImage);
|
QPainter painter(&roundedImage);
|
||||||
painter.setRenderHint(QPainter::SmoothPixmapTransform);
|
painter.setRenderHint(QPainter::SmoothPixmapTransform);
|
||||||
|
painter.setPen(Qt::NoPen);
|
||||||
|
|
||||||
// Fill background for transparent avatars
|
// Fill background for transparent avatars
|
||||||
painter.setBrush(Qt::white);
|
painter.setBrush(Qt::white);
|
||||||
|
|||||||
Reference in New Issue
Block a user