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:
parent
1847d60a1d
commit
0402391d17
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user