diff --git a/applet.cpp b/applet.cpp index d6bb8ff88..77ac316eb 100644 --- a/applet.cpp +++ b/applet.cpp @@ -696,7 +696,7 @@ QColor Applet::color() const } } -void Applet::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) +void Applet::paintWidget(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) { Q_UNUSED(widget) if (d->shadow && d->shadow->shadowedSize() != boundingRect().size()) { diff --git a/applet.h b/applet.h index b7452464f..8f8cf35cd 100644 --- a/applet.h +++ b/applet.h @@ -552,7 +552,7 @@ class PLASMA_EXPORT Applet : public Widget /** * Reimplemented from QGraphicsItem **/ - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + void paintWidget(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); class Private; Private* const d;