From 221ff9df9746f7db60c9e3d2ff153309e193ff1a Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Sun, 3 Aug 2014 19:30:25 +0200 Subject: [PATCH] fixed rendering of half-checked radiobuttons --- kstyle/breezehelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kstyle/breezehelper.cpp b/kstyle/breezehelper.cpp index e813a005..d10a9ebd 100644 --- a/kstyle/breezehelper.cpp +++ b/kstyle/breezehelper.cpp @@ -363,7 +363,7 @@ namespace Breeze path.moveTo( 5, 5 ); path.lineTo( qreal( Metrics::CheckBox_Size ) -6, 5 ); path.lineTo( 5, qreal( Metrics::CheckBox_Size ) - 6 ); - painter->drawPath( path ); + painter->drawPath( path.translated( rect.topLeft() ) ); }