From a6693dfcef8cabe5e763bb0fb5f704ff475921e1 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Tue, 8 Sep 2015 16:23:02 +0200 Subject: [PATCH] Fixed rendering of "unmaximize" button --- kdecoration/breezebutton.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/kdecoration/breezebutton.cpp b/kdecoration/breezebutton.cpp index 1b9236a9..36e879a4 100644 --- a/kdecoration/breezebutton.cpp +++ b/kdecoration/breezebutton.cpp @@ -205,11 +205,13 @@ namespace Breeze { pen.setJoinStyle( Qt::RoundJoin ); painter->setPen( pen ); + painter->drawPolygon( QPolygonF() - << QPointF( 4.5, 9 ) - << QPointF( 9, 4.5 ) - << QPointF( 13.5, 9 ) - << QPointF( 9, 13.5 ) ); + << QPointF( 4, 9 ) + << QPointF( 9, 4 ) + << QPointF( 14, 9 ) + << QPointF( 9, 14 ) ); + } else { painter->drawPolyline( QPolygonF() << QPointF( 4, 11 )