Backport fix for buttons.

svn path=/branches/KDE/4.2/kdebase/workspace/; revision=913431
This commit is contained in:
Luboš Luňák 2009-01-19 11:52:25 +00:00
parent 5104de12e4
commit 674da0ff27

View file

@ -114,7 +114,7 @@ static void drawButtonFrame(QPixmap *pix, const QPalette &g, bool sunken)
}
else{
p.setPen(g.color(QPalette::Dark ));
p.drawRect(0, 0, w-1, h-1);
p.drawRect(0, 0, w-2, h-2);
p.setPen(g.color(QPalette::Light));
p.drawLine(x2, 0, x2, y2);
p.drawLine(0, y2, x2, y2);