Raise window icon by a single pixel.

svn path=/trunk/KDE/kdebase/workspace/; revision=988406
This commit is contained in:
Lucas Murray 2009-06-28 03:20:03 +00:00
parent e31c2b6678
commit 2aa56602db
2 changed files with 2 additions and 2 deletions

View file

@ -209,7 +209,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
{
// we paint the mini icon (which is 16 pixels high)
int dx = (width() - 16) / 2;
int dy = (height() - 16) / 2;
int dy = (height() - 16) / 2 - 1;
painter.drawPixmap(dx, dy, client_.icon().pixmap(16));
return;
}

View file

@ -215,7 +215,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
if (type_ == ButtonMenu) {
// we paint the mini icon (which is 16 pixels high)
int dx = (width() - 16) / 2;
int dy = (height() - 16) / 2;
int dy = (height() - 16) / 2 - 1;
painter.drawPixmap(dx, dy, client_.icon().pixmap(16));
return;
}