Fix off by one border rendering bug.

svn path=/trunk/KDE/kdebase/workspace/; revision=676429
This commit is contained in:
Luciano Montanaro 2007-06-16 21:56:14 +00:00
parent c5e1b4b204
commit d3fd417bf0

View file

@ -238,7 +238,9 @@ WebClient::paintEvent(QPaintEvent * pe)
p.setClipRegion(pe->region() - titleRect); 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()); p.setClipRegion(pe->region());