move signs in windec buttons to correct place
svn path=/trunk/KDE/kdebase/workspace/; revision=722466
This commit is contained in:
parent
54289af3ea
commit
fd6cac7877
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
|
||||||
QColor bg = globalHelper->backgroundTopColor(palette().window());
|
QColor bg = globalHelper->backgroundTopColor(palette().window());
|
||||||
painter.drawPixmap(0, 0, globalHelper->windecoButton(palette().button()));
|
painter.drawPixmap(0, 0, globalHelper->windecoButton(palette().button()));
|
||||||
|
|
||||||
|
painter.translate(1,1);
|
||||||
painter.setRenderHints(QPainter::Antialiasing);
|
painter.setRenderHints(QPainter::Antialiasing);
|
||||||
painter.setBrush(Qt::NoBrush);
|
painter.setBrush(Qt::NoBrush);
|
||||||
QLinearGradient lg(0, 6, 0, 12);
|
QLinearGradient lg(0, 6, 0, 12);
|
||||||
|
|
Loading…
Reference in a new issue