diff --git a/applet.cpp b/applet.cpp index 23d0770a5..b2da48405 100644 --- a/applet.cpp +++ b/applet.cpp @@ -2319,18 +2319,21 @@ void AppletOverlayWidget::paint(QPainter *painter, Q_UNUSED(option) Q_UNUSED(widget) QColor wash = Plasma::Theme::defaultTheme()->color(Theme::BackgroundColor); - wash.setAlphaF(.8); + wash.setAlphaF(.7); Applet *applet = qobject_cast(parentWidget()); QPainterPath backgroundShape; if (applet->backgroundHints() & Applet::StandardBackground) { - backgroundShape = PaintUtils::roundedRectangle(parentWidget()->contentsRect(), 8); + backgroundShape = PaintUtils::roundedRectangle(parentWidget()->contentsRect(), 5); } else { backgroundShape = parentItem()->shape(); } + painter->save(); + painter->setRenderHints(QPainter::Antialiasing); painter->fillPath(backgroundShape, wash); + painter->restore(); } } // Plasma namespace