diff --git a/clients/oxygen/oxygenbutton.cpp b/clients/oxygen/oxygenbutton.cpp index 282aeaa9a2..a501a97f65 100644 --- a/clients/oxygen/oxygenbutton.cpp +++ b/clients/oxygen/oxygenbutton.cpp @@ -139,7 +139,7 @@ void OxygenButton::paintEvent(QPaintEvent *) } QColor bg = globalHelper->backgroundTopColor(palette().window()); - painter.drawPixmap(0, 0, *globalHelper->roundButton(bg, BUTTONSIZE)); + painter.drawPixmap(0, 0, globalHelper->roundButton(palette().button(), BUTTONSIZE)); }