diff --git a/clients/oxygen/oxygenbutton.cpp b/clients/oxygen/oxygenbutton.cpp index 63450bc39e..cafd08a3ec 100644 --- a/clients/oxygen/oxygenbutton.cpp +++ b/clients/oxygen/oxygenbutton.cpp @@ -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; } diff --git a/clients/ozone/oxygenbutton.cpp b/clients/ozone/oxygenbutton.cpp index c21cf75387..c48b757d0f 100644 --- a/clients/ozone/oxygenbutton.cpp +++ b/clients/ozone/oxygenbutton.cpp @@ -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; }