Backport r988406:
Raise window icon by a single pixel. svn path=/branches/KDE/4.3/kdebase/workspace/; revision=988407
This commit is contained in:
parent
9f24a8951f
commit
2be3875ee2
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue