Fix buttons, patch by Knut Johansson <knutmj@online.no>.

svn path=/trunk/KDE/kdebase/workspace/; revision=913430
This commit is contained in:
Luboš Luňák 2009-01-19 11:51:46 +00:00
parent 42beacc8f1
commit f760d36881

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);