we don't need our own shape() here anymore; it really hardly worked at the best of times and was we move to window decos it'll become irrelevant anyhow

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802287
This commit is contained in:
Aaron J. Seigo 2008-04-29 02:30:23 +00:00
parent 1847d60a1d
commit 0402391d17
2 changed files with 0 additions and 14 deletions

View File

@ -977,15 +977,6 @@ int Applet::type() const
return Type;
}
QPainterPath Applet::shape() const
{
if (isContainment()) {
return QGraphicsWidget::shape();
}
return Plasma::roundedRectangle(boundingRect().adjusted(-2, -2, 2, 2), 10);
}
QList<QAction*> Applet::contextualActions()
{
//kDebug() << "empty context actions";

View File

@ -451,11 +451,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
int type() const;
enum { Type = Plasma::AppletType };
/**
* Reimplemented from QGraphicsItem
*/
QPainterPath shape() const;
/**
* @internal
*/