From fd6cac7877c167c0c3d57a24b2e3a1a2d1c4abbe Mon Sep 17 00:00:00 2001 From: Casper Boemann Date: Sun, 7 Oct 2007 11:55:11 +0000 Subject: [PATCH] move signs in windec buttons to correct place svn path=/trunk/KDE/kdebase/workspace/; revision=722466 --- clients/oxygen/oxygenbutton.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/oxygen/oxygenbutton.cpp b/clients/oxygen/oxygenbutton.cpp index dd8760d686..bad726b7cc 100644 --- a/clients/oxygen/oxygenbutton.cpp +++ b/clients/oxygen/oxygenbutton.cpp @@ -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);