Commit f238fde4 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix cards flashing a bit when resizing

We need to finish painting otherwise the card isn't painted and flashing
happens for a short moment
parent 10db6757
Pipeline #114848 passed with stage
in 1 minute and 8 seconds
......@@ -321,10 +321,6 @@ void KCard::paint( QPainter * painter, const QStyleOptionGraphicsItem * option,
setFrontPixmap( newPix );
setBackPixmap( newPix );
// Changing the pixmap will call update() and force a repaint, so we
// might as well return early.
// Enable smooth pixmap transformation only if the card is rotated. We
Supports Markdown
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