Raise window icon by a single pixel.
svn path=/trunk/KDE/kdebase/workspace/; revision=988406
This commit is contained in:
parent
e31c2b6678
commit
2aa56602db
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)
|
// we paint the mini icon (which is 16 pixels high)
|
||||||
int dx = (width() - 16) / 2;
|
int dx = (width() - 16) / 2;
|
||||||
int dy = (height() - 16) / 2;
|
int dy = (height() - 16) / 2 - 1;
|
||||||
painter.drawPixmap(dx, dy, client_.icon().pixmap(16));
|
painter.drawPixmap(dx, dy, client_.icon().pixmap(16));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -215,7 +215,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
|
||||||
if (type_ == ButtonMenu) {
|
if (type_ == ButtonMenu) {
|
||||||
// we paint the mini icon (which is 16 pixels high)
|
// we paint the mini icon (which is 16 pixels high)
|
||||||
int dx = (width() - 16) / 2;
|
int dx = (width() - 16) / 2;
|
||||||
int dy = (height() - 16) / 2;
|
int dy = (height() - 16) / 2 - 1;
|
||||||
painter.drawPixmap(dx, dy, client_.icon().pixmap(16));
|
painter.drawPixmap(dx, dy, client_.icon().pixmap(16));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue