Fix off-by one graphic glitch.
svn path=/trunk/KDE/kdebase/workspace/; revision=673272
This commit is contained in:
parent
240b663df8
commit
bda187c083
1 changed files with 4 additions and 4 deletions
|
@ -479,7 +479,7 @@ void LaptopClient::paintEvent( QPaintEvent* )
|
||||||
|
|
||||||
QRect r(widget()->rect());
|
QRect r(widget()->rect());
|
||||||
p.setPen(Qt::black);
|
p.setPen(Qt::black);
|
||||||
p.drawRect(r);
|
p.drawRect(r.adjusted(0, 0, -1, -1));
|
||||||
|
|
||||||
// fill mid frame...
|
// fill mid frame...
|
||||||
p.setPen(g.background().color());
|
p.setPen(g.background().color());
|
||||||
|
@ -510,7 +510,7 @@ void LaptopClient::paintEvent( QPaintEvent* )
|
||||||
th -= 2;
|
th -= 2;
|
||||||
|
|
||||||
// inner rect
|
// inner rect
|
||||||
p.drawRect(r.x() + 3, r.y() + th + 3, r.width() - 6, r.height() - th - bb);
|
p.drawRect(r.x() + 3, r.y() + th + 3, r.width() - 7, r.height() - th - bb - 1);
|
||||||
|
|
||||||
// handles
|
// handles
|
||||||
if (mustDrawHandle()) {
|
if (mustDrawHandle()) {
|
||||||
|
|
Loading…
Reference in a new issue