From d3fd417bf03377aaa92eedfc216272196003fd7c Mon Sep 17 00:00:00 2001 From: Luciano Montanaro Date: Sat, 16 Jun 2007 21:56:14 +0000 Subject: [PATCH] Fix off by one border rendering bug. svn path=/trunk/KDE/kdebase/workspace/; revision=676429 --- clients/web/Web.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clients/web/Web.cpp b/clients/web/Web.cpp index ff97fb70f5..526ddc0865 100644 --- a/clients/web/Web.cpp +++ b/clients/web/Web.cpp @@ -238,7 +238,9 @@ WebClient::paintEvent(QPaintEvent * pe) p.setClipRegion(pe->region() - titleRect); - p.drawRect(widget()->rect()); + QRect r(widget()->rect()); + r.adjust(0, 0, -1, -1); + p.drawRect(r); p.setClipRegion(pe->region());