Fixed off by one rendering artifact in modernsystem too.

svn path=/trunk/KDE/kdebase/workspace/; revision=676453
icc-effect-5.14.5
Luciano Montanaro 2007-06-16 22:34:33 +00:00
parent d3fd417bf0
commit 90d5c51cca
1 changed files with 2 additions and 2 deletions

View File

@ -649,7 +649,7 @@ void ModernSys::paintEvent( QPaintEvent* )
p.drawLine(width()-hs-1, height()-hw, width()-hs-1, height()-4);
p.setPen(Qt::black);
p.drawRect(0, 0, w, h);
p.drawRect(0, 0, w-1, h-1);
// handle outline
p.drawLine(width()-hw, height()-hs, width(), height()-hs);
@ -658,7 +658,7 @@ void ModernSys::paintEvent( QPaintEvent* )
p.drawLine(width()-hs, height()-hw, width()-hs, height()-2);
} else {
p.setPen(Qt::black);
p.drawRect(0, 0, w, h);
p.drawRect(0, 0, w-1, h-1);
}
}