From b42db6a2ea44f45e35e4bd29bd7ccc7fcf779075 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 10 Sep 2007 18:50:36 +0000 Subject: [PATCH] should be using paintWidget, not paint svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=710733 --- applet.cpp | 2 +- applet.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;