Commit 9afb9fee authored by Anthony Léonard's avatar Anthony Léonard Committed by Olivier SOLDANO

remove black line around profile pictures

This was caused by a QPainter's pen not set to transparent.

Change-Id: Ie06e6383f402d519067fd6d5c4aa0792b58e711a
Reviewed-by: default avatarOlivier Soldano <olivier.soldano@savoirfairelinux.com>
parent 64e1967a
......@@ -264,7 +264,7 @@ namespace Interfaces {
finalImg.setMask (mask );
painter.drawPixmap (0,0,finalImg );
painter.setBrush (Qt::NoBrush );
painter.setPen (Qt::black );
painter.setPen (Qt::transparent );
painter.setCompositionMode (QPainter::CompositionMode_SourceIn);
painter.drawRoundedRect(0,0,pxm.height(),pxm.height(),radius,radius);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment