move signs in windec buttons to correct place

svn path=/trunk/KDE/kdebase/workspace/; revision=722466
This commit is contained in:
Casper Boemann 2007-10-07 11:55:11 +00:00
parent 54289af3ea
commit fd6cac7877

View file

@ -142,6 +142,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
QColor bg = globalHelper->backgroundTopColor(palette().window());
painter.drawPixmap(0, 0, globalHelper->windecoButton(palette().button()));
painter.translate(1,1);
painter.setRenderHints(QPainter::Antialiasing);
painter.setBrush(Qt::NoBrush);
QLinearGradient lg(0, 6, 0, 12);